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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,892

Full Statistics

Online Users
There are currently 65 online users.
» 3 Member(s) | 55 Guest(s)
Bing, Google, Facebook, Mojeek, Gribouillis, buran, snippsat

Latest Threads
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
8 minutes ago
» Replies: 1
» Views: 16
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
7 hours ago
» Replies: 3
» Views: 116
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
7 hours ago
» Replies: 2
» Views: 82
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
11 hours ago
» Replies: 6
» Views: 3,185
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 250
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 139
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 95
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,528
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 180
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 84

 
  Unable to identify Tuple index error
Posted by: appmkl - Jun-26-2019, 09:30 PM - Forum: Data Science - Replies (4)

Hello !
I've been wanting to create a DCGAN following this tutorial.
I've got the whole thing up and running on GCP, with my own image dataset (tryi..... More

Print this item

  Where to find Russian Django developers?
Posted by: mikedeveloper - Jun-26-2019, 08:20 PM - Forum: Jobs - Replies (2)

I am a React developer seeking Django developer to help with a project.
I do not need full-time work but enough to keep them busy.

Where can I fin..... More

Print this item

  subprocess and tty input
Posted by: gw1500se - Jun-26-2019, 07:25 PM - Forum: General Coding Help - Replies (2)

I'm writing a script that launches a process via Popen that reads a password from the tty rather than stdin. Is there a way to send that string? There..... More

Print this item

  Have two class instances affect one another
Posted by: The_Zookinator - Jun-26-2019, 05:57 PM - Forum: General Coding Help - Replies (3)

Hey everybody,

newbe here. I'm trying out classes and I don't know how to get the desired results:

[python]
class name():
def __init__(sel..... More

Print this item

  to_numpy() works in jupyter notebook, but not in python script
Posted by: bluefrog - Jun-26-2019, 05:54 PM - Forum: Data Science - Replies (7)

Hi

I am unsure why the following works in a jupyter notebook, but not in a python script that I am run from the Linux command line:

[python]
#!..... More

Print this item

  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: 1074)
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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 8 minutes ago matt Gribouillis News and Disc...
  My regex function is not ... 7 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 7 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 11 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
Most views
  The best Prog... 579372
  Tutorial Requ... 512371
  Web Scraping ... 442282
  Newbie with P... 386338
  New Users Int... 380289
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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