Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,659
» Latest member: AustinKade
» Forum threads: 37,403
» Forum posts: 169,977

Full Statistics

Online Users
There are currently 402 online users.
» 1 Member(s) | 393 Guest(s)
Facebook, Bing, Google, Mojeek, Applebot, micseydel

Latest Threads
ModulNotFoundError matplo...
Forum: General Coding Help
Last Post: WicardBohnam
29 minutes ago
» Replies: 9
» Views: 173
API design an choice
Forum: News and Discussions
Last Post: Skaperen
56 minutes ago
» Replies: 0
» Views: 17
using mutable in function...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 12:52 PM
» Replies: 4
» Views: 213
Why am I getting this err...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:31 PM
» Replies: 4
» Views: 117
Discord - Webcrapping fro...
Forum: Web Scraping & Web Development
Last Post: Tolska
Yesterday, 12:27 PM
» Replies: 0
» Views: 51
Low code b2b e-commerce s...
Forum: Web Scraping & Web Development
Last Post: abdlwafitahiri
Yesterday, 12:18 PM
» Replies: 2
» Views: 395
How to edit Tkinter Minim...
Forum: General Coding Help
Last Post: kucingkembar
Yesterday, 11:36 AM
» Replies: 7
» Views: 151
TypeError: '>' not suppor...
Forum: Data Science
Last Post: Anouar
Yesterday, 09:34 AM
» Replies: 0
» Views: 71
How To Make A PyQt5 Progr...
Forum: GUI
Last Post: menator01
Yesterday, 02:18 AM
» Replies: 1
» Views: 140
Problem Converting Tradin...
Forum: General Coding Help
Last Post: kralxs
Apr-25-2024, 07:40 PM
» Replies: 0
» Views: 123

 
  machine learning error (using jupyter)
Posted by: calonia - Jun-26-2019, 04:30 PM - Forum: General Coding Help - Replies (1)

i was trying to play around with machine learning and make prediction on this data set using jupyter:

https://github.com/dpkravi/DecisionTreeClassi..... More

Print this item

  Study guides
Posted by: Mark87 - Jun-26-2019, 04:13 PM - Forum: News and Discussions - No Replies

Hi, everybody!
I used to work with Magento for a long time, mostly developing modules and working at stores support [color=#E74C3C][LINK REMOVED][/co..... More

Print this item

  This constructor takes no arguments
Posted by: Friend - Jun-26-2019, 02:47 PM - Forum: General Coding Help - Replies (2)

Hi all,

i am just learning about classes. This a very simplified version of the example i was checking in a book

[python]
class Person:
de..... More

Print this item

  “main thread is not in main loop” in Tkinter
Posted by: Long_r - Jun-26-2019, 02:26 PM - Forum: GUI - Replies (1)

Greetings
I have paths of two GIF files in a list.
After input (name of the planet) it just shows looped GIF in tkinter.
When you enter 'ok' as a s..... More

Print this item

  plugin:xxx.py hasfailed to load
Posted by: 1204eray - Jun-26-2019, 02:22 PM - Forum: General Coding Help - Replies (1)

I write this code but ı cant enject ı got ".py has failed to load" error

Can anyone tell me where I do mistake

[python]from phBot import *
import p..... More

Print this item

  Only first letter in the cell of the file.
Posted by: rturus - Jun-26-2019, 01:32 PM - Forum: General Coding Help - Replies (7)

[python] b=b+1
for a in range(0,b):
writefile = open("data.csv",'a')
writefile.write(str(nam..... More

Print this item

  thinker button gui place next to each other
Posted by: jacklee26 - Jun-26-2019, 01:09 PM - Forum: GUI - Replies (9)

HI ,
do anyone knows how to place clear button next to ping button.
Right now it display ping and clear is not place together.
if i put pack(side"..... More

Print this item

  Finding the correct Python framework with cmake
Posted by: kavyasahu - Jun-26-2019, 09:59 AM - Forum: Data Science - No Replies

I am using the macports version of python on a Snow Leopard computer, and using cmake to build a cross-platform extension to it. I search for the pyth..... More

Print this item

  Audio and servo at the same time
Posted by: cgreenwell - Jun-26-2019, 09:16 AM - Forum: General Coding Help - Replies (4)

I'm using a Raspberry Pi3 with a servo hat and a speaker hat. I am getting audio just fine as well as servos are working fine, but can't do both at th..... More

Print this item

  Load JSON file data into mongodb using pymongo
Posted by: klllmmm - Jun-26-2019, 04:30 AM - Forum: General Coding Help - Replies (1)

I want to load JSON data into MongoDB using pymongo library.

I found that JSON data can be directly load using mongoimport using the command prompt..... More


Attached Files

.json   example_2.json (Size: 947 bytes / Downloads: 500)
Print this item

  Getting Around in OS X
Posted by: soupking - Jun-26-2019, 01:52 AM - Forum: General Coding Help - Replies (4)

Hi everybody,

I know this is a real general question, but I'm using the docs and not really getting anywhere.

I'm trying to use Python as a SSH..... More

Print this item

  Instances as attributes
Posted by: sapra90 - Jun-26-2019, 01:33 AM - Forum: General Coding Help - Replies (2)

Hello everyone, I am trying to learn the concept of instances as attributes. Below is the code snippet [python]
class User:
def __init__(self,first..... More

Print this item

  TKinter GUI / Pandas Data frame Loop
Posted by: NSearch - Jun-26-2019, 12:37 AM - Forum: GUI - No Replies

Hi all,

Thanks in advance for your help.

I have a simple tkinter gui that has two buttons: "Stop", "GO"

I am trying to loop through a pandas ..... More

Print this item

  i have hundreds of Python functions
Posted by: Skaperen - Jun-25-2019, 11:00 PM - Forum: News and Discussions - Replies (3)

i have hundreds of Python functions and often use quite many of them. there are two major methods i have tried to import these functions. method 1 k..... More

Print this item

  How to use the excel filename as a value to populate new column, using Pandas?
Posted by: Dequanharrison - Jun-25-2019, 10:07 PM - Forum: Data Science - Replies (5)

I'm new to Python. I have about 50 excel workbooks that all have different names e.g. 012018 CBA, 022018 CBA, etc. For each, I would like to insert a ..... More

Print this item

  How to use multiprocessing with an array that is continually being appended
Posted by: Apretext - Jun-25-2019, 08:53 PM - Forum: General Coding Help - Replies (7)

I have a (long!) script that I wish to speed up considerably by splitting it into 3 modules, and running them in parallel, rather than sequentially, w..... More

Print this item

  Issue with os.rename
Posted by: malinowy - Jun-25-2019, 04:05 PM - Forum: General Coding Help - Replies (4)

Hello experts,

I am facing this issue with os.rename

I have multiple scripts in my Jupyter notebook, and at some point I need to move some fil..... More

Print this item

  How to combine file names into a list from multiple directories?
Posted by: python_newbie09 - Jun-25-2019, 03:05 PM - Forum: General Coding Help - Replies (3)

My files in folders are structures as follows:
Folder1
Filea
Fileb
Filec

Folder2
Filea
Fileb
Filec

Folder3
Filea
Fileb
Filec


I am..... More

Print this item

  TimeLapse Help - ImportError: No module named 'sh'
Posted by: evvvonder - Jun-25-2019, 03:04 PM - Forum: General Coding Help - Replies (4)

I'm new to python and am trying to write a code that will allow me to take time lapse photographs with my DSLR.

[python]
from time import sleep
from..... More

Print this item

  How to remove empty struct from matlab file in python?
Posted by: python_newbie09 - Jun-25-2019, 12:13 PM - Forum: General Coding Help - No Replies

I am new to working with matlab files and I have a problem with some matlab files that has empty structs in between structs that have values. an examp..... More

Print this item

  Pygrib error
Posted by: Saszalez - Jun-25-2019, 10:55 AM - Forum: General Coding Help - No Replies

Hi all.

I am creating a script in which I need pygrib. I use Python 3.7.3. When I try to install the module (pip install pygrib) it prints the foll..... More

Print this item

  [split] Closing a window but not the whole program
Posted by: scriptdrache - Jun-25-2019, 07:06 AM - Forum: GUI - Replies (1)

i got almost the same problem
[python]
import time
from tkinter import messagebox

count = 0
print("Your Antivirus will scan your Computer ")
..... More

Print this item

  converting Perl to Python
Posted by: Skaperen - Jun-25-2019, 05:20 AM - Forum: Bar - Replies (3)

how hard would it be to convert this Perl thing to Python?

Print this item

  Need Help solving second order differential equations
Posted by: SkewedZone - Jun-25-2019, 03:39 AM - Forum: Data Science - Replies (2)

So I have been working on a code to solve a coupled system of second order differential equations, in order to obtain the numerical solution of an ela..... More

Print this item

  Creating a Menu
Posted by: Sunshine - Jun-25-2019, 12:43 AM - Forum: Homework - Replies (4)

Hello everyone. I am in my 3rd week of my first programming class and I am struggling. The first two weeks were no problem. Currently, I am working on..... More

Print this item

  Regex: Matches a number with commas for every three digits
Posted by: linh_py - Jun-25-2019, 12:37 AM - Forum: Homework - Replies (2)

hello everybody, i am doing my homework, [font=Trebuchet MS, Helvetica, sans-serif][b]"write a regex that matches a number with commas for every three..... More

Print this item

  Wrong output in Visual Studio Code
Posted by: py_learner - Jun-24-2019, 09:57 PM - Forum: General Coding Help - Replies (1)

Hi Python experts,

I have started using "Visual Studio Code" and its giving little weird results.

[python]daysInWeek={"Mon","Tues","Wed","Thur..... More

Print this item

  FTP Question
Posted by: AlexTeran - Jun-24-2019, 09:14 PM - Forum: General Coding Help - Replies (1)

I'm fairly new to Python, and finding it to be very powerful thus far.

I have substituted the domain, username, password, and file names to preserv..... More

Print this item

  simple key value loop help
Posted by: siten0308 - Jun-24-2019, 08:47 PM - Forum: General Coding Help - Replies (4)

Hello,

I have the following python code:

[python]
d = {'123':'John','123':'Steve','4929':'959','3491':'5','319':'Bob','name': 'john','code':673..... More

Print this item

  Distilling strings using .writelines() and .read()
Posted by: tedie - Jun-24-2019, 08:04 PM - Forum: General Coding Help - Replies (1)

Hi all,
I am experiencing a phenomena that I'm unable to explain to date.

I have a long string that I'm passing to a function, and in that functio..... More

Print this item

  Infrastructure Monitoring Application
Posted by: philwhite - Jun-24-2019, 05:50 PM - Forum: Code sharing - Replies (2)

I created an infrastructure monitoring application for Windows and Linux in Python. It consists of agents (Linux/Windows), a web interface running on..... More

Print this item

  zip file variable prints <zipfile.ZipFile object at 0x7f83fd13bd90> ?
Posted by: Rsh - Jun-24-2019, 05:32 PM - Forum: General Coding Help - Replies (9)

Below are few lines on zip log file python script.
Getting output file name as different shown below,

[python]zip_file_name = zipfile.ZipFile(serv..... More

Print this item

  Asyncio Webserver
Posted by: philwhite - Jun-24-2019, 05:24 PM - Forum: Code sharing - Replies (4)

I created a custom web server in Python using Asyncio that I thought I'd share with the Python community. It hosts both Python and static code (HTML/..... More

Print this item

  Error: "Can't set attribute"
Posted by: Norica - Jun-24-2019, 03:42 PM - Forum: General Coding Help - Replies (8)

Hello,

I added a setter, but I still get an error. What do I do wrong?
The class is pretty big so I posted just these pieces of code.

[python]..... More

Print this item

  Determining string intersection (embeddings) between two narrative (text) fields
Posted by: twinpiques - Jun-24-2019, 02:19 PM - Forum: Data Science - Replies (2)

Hello. I am trying to solve a text analytics problem.

I have two data sets (DS1 and DS2). DS1 contains a narrative text field (Description_S). ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ModulNotFoundError matplo... 29 minutes ago WicardBohnam WicardBohnam General Codin...
  API design an choice 56 minutes ago Skaperen Skaperen News and Disc...
  using mutable in function... Yesterday, 12:52 akbarza deanhystad General Codin...
  Why am I getting this err... Yesterday, 12:31 Pedroski55 Pedroski55 General Codin...
  Discord - Webcrapping fro... Yesterday, 12:27 Tolska Tolska Web Scraping ...
  Low code b2b e-commerce s... Yesterday, 12:18 makc abdlwafitahiri Web Scraping ...
  How to edit Tkinter Minim... Yesterday, 11:36 kucingkembar kucingkembar General Codin...
  TypeError: '>' not suppor... Yesterday, 09:34 Anouar Anouar Data Science
  How To Make A PyQt5 Progr... Yesterday, 02:18 rcwildabeast menator01 GUI
  Problem Converting Tradin... 04-25, 19:40 kralxs kralxs General Codin...
  New on python. Needs help... 04-25, 18:47 jeromep deanhystad General Codin...
Most views
  The best Prog... 414743
  Web Scraping ... 305336
  Tutorial Requ... 294674
  Newbie with P... 252533
  Thread remain... 234903
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11873
buran 8090
snippsat 7091
deanhystad 6221
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
AustinKade Today
mihir_patel535 Yesterday
Tolska Yesterday
Anouar Yesterday
WillieNelson Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020