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,248
» Latest member: kai_cow2710
» Forum threads: 38,779
» Forum posts: 175,819

Full Statistics

Online Users
There are currently 48 online users.
» 1 Member(s) | 37 Guest(s)
Applebot, Bing, Google, Mojeek, AOL, Facebook, deanhystad

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
32 minutes ago
» Replies: 4
» Views: 99
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 6
» Views: 163
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 300
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 271
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 101
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,619
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 201
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 185
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,173
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,421

 
  Python 3.8 Nested varible not updating
Posted by: Teknohead23 - Aug-27-2021, 07:42 PM - Forum: General Coding Help - Replies (6)

I am trying to look for a folder & create it if it does not exist, if it does look for the next number up, Win 10 Pycharm 3.8
Creating the folder wor..... More

Print this item

  PyQT5 + PyCharm + Xbee
Posted by: Mitko_Sokolov - Aug-27-2021, 04:17 PM - Forum: Networking - Replies (6)

Hello, can anyone help me to unite these three python apps in one single app?
https://github.com/RuslanSdk/XBee-PyQt5-V.1.0

https://github.com/zz..... More

Print this item

  Is there a better way of formatting os.uname() output?
Posted by: CodeWolf - Aug-27-2021, 02:54 PM - Forum: General Coding Help - Replies (6)

I'm currently trying to output the results from os.uname() to a Python window containing a QLabel.

The label requires the data as a string. I know ..... More

Print this item

  myList.insert(index, element) question
Posted by: ChrisF - Aug-27-2021, 02:35 PM - Forum: General Coding Help - Replies (1)

Why does the "insert.(index, element)" function work backwards in this for loop when used in the context "myList.insert(1, myList[v])"? Instead of add..... More


Attached Files

Thumbnail(s)
   
Print this item

  PCA analysis on blobs
Posted by: erdemath - Aug-26-2021, 07:47 PM - Forum: Data Science - No Replies

I am trying to do PCA analysis on the classical makeblobs routine. There is a problem with the drawing the arrows. The code and the error message are..... More

Print this item

  Command output to Variable
Posted by: ironclaw - Aug-26-2021, 06:18 PM - Forum: General Coding Help - Replies (1)

Good afternoon everyone. I am new to python and I am trying to get my self up to speed as soon as possible. I thought it would be easy since ive alrea..... More

Print this item

  metaclass
Posted by: Bric - Aug-26-2021, 05:22 PM - Forum: Homework - Replies (5)

hello I am doing an exercise and I am stuck on a part that I do not understand too much (metaclass). I need to write the MetaInherList metaclass for t..... More

Print this item

  pywin32 Illustrator Throwing Exception Error
Posted by: matthewsjc1 - Aug-26-2021, 01:40 PM - Forum: General Coding Help - Replies (7)

I'm trying to use pywin32 to access Adobe Illustrator through COM. I'm able to access other apps like Photoshop and Excel fine, but no matter how I tr..... More

Print this item

  Serial connection connection issue
Posted by: Joni_Engr - Aug-26-2021, 01:28 PM - Forum: General Coding Help - Replies (15)

Hi, I am not able to connect to serial. I get an error "ModuleNotFoundError: No module named 'serial'"

[python]
# Serial port config
import seri..... More

Print this item

  design
Posted by: fakka - Aug-26-2021, 01:14 PM - Forum: General Coding Help - Replies (4)

HI
I have data that will look like this. Idea is to compare all parameters from machine 2 and 3 to the master machine (machine 1).
Whats the best wa..... More

Print this item

  How do I locate setup.py in my computer, or install the file?
Posted by: JaneTan - Aug-26-2021, 04:34 AM - Forum: General Coding Help - Replies (1)

Hi,

I get error:
File 'setup.py' not found
when I used pip install to install new packages on Anaconda Prompt.

I know there are similar ques..... More

Print this item

  What can the event.widget reference be used for?
Posted by: Knickers - Aug-25-2021, 09:55 PM - Forum: GUI - Replies (4)

Widgets bound with self.root.bind_all("", lambda e: self.focus(e)) return a widget reference through e.widget such as ".!entry2" when a ..... More

Print this item

Thumbs Up [SOLVED] Simplify condition test in if block?
Posted by: Winfried - Aug-25-2021, 09:20 PM - Forum: General Coding Help - Replies (2)

Hello,

Out of curiosity, is there a way to simply an "if" line with multiple conditions?

[python]if status == "1" \
or status == "2" \

o..... More

Print this item

  continue if 'subprocess.call' failes
Posted by: tester_V - Aug-25-2021, 08:56 PM - Forum: General Coding Help - Replies (11)

Hello!
I'm pulling out logs from remote hosts to my server for processing.
The server has a faceless account and all the Hosts have it added as an a..... More

Print this item

  My code does not work as expected (pygame)
Posted by: rohes_kaugummi - Aug-25-2021, 08:50 PM - Forum: Homework - Replies (1)

Hello,
I am trying to make a game in pygame and after i optimised my code it stopped working.
It is creating a window but it is black .

Thank yo..... More

Print this item

  Pyinstaller to exe error
Posted by: Tyrel - Aug-25-2021, 06:41 PM - Forum: General Coding Help - Replies (3)

Good day,

I am trying to convert from py to exe but i am getting an error after I have converted it when I try to run it.
I have all the modules i..... More

Print this item

  Senior Software Engineer (Big Data) in Burlington, MA
Posted by: patpat - Aug-25-2021, 03:21 PM - Forum: Jobs - No Replies

Are you passionate about Big Data? Do you deal with data set in the Size of Peta Bytes (PB) with large scale Hadoop cluster? In this role we are looki..... More

Print this item

  General Coding Help
Posted by: biswajitmaity - Aug-25-2021, 01:19 PM - Forum: General Coding Help - Replies (2)

I am a beginner at this course.

Getting "SyntaxError: invalid syntax"

Project code:

1. class = 8
2. print(class)

[b]Program Result..... More

Print this item

  Pyscripter debugging
Posted by: ChrisM - Aug-25-2021, 08:58 AM - Forum: General Coding Help - Replies (3)

I need to train a colleague on debugging Python scripts within PyScripter. Can anybody point me in the direction of a good debugging tutorial.

I ne..... More

Print this item

  Change row values by other row values from same df
Posted by: JosepMaria - Aug-25-2021, 08:56 AM - Forum: Data Science - Replies (3)

I have the following dataset:

[python]df = pd.DataFrame( {'user': {0: 1, 1: 1, 2: 1, 3: 2, 4: 2, 5: 2, 6: 2},
'date': {0: '1995-09-01', 1: '1..... More

Print this item

  Python and Godaddy
Posted by: jamesaarr - Aug-25-2021, 08:01 AM - Forum: Web Scraping & Web Development - Replies (8)

Hello guys,

Basically I've made a program that generates an HTML file based on information in a CSV. This works locally and I'm looking to apply it..... More

Print this item

  Upgrade from 3.7.9 to 3.7.11
Posted by: quazirfan - Aug-25-2021, 07:30 AM - Forum: General Coding Help - Replies (4)

I am looking for Python 3.7.11 windows installer here https://www.python.org/downloads/.

But 3.7.9 is the final 3.7.x relase that comes with Windo..... More

Print this item

  question for a tkinter dialog box
Posted by: RobertAlvarez424 - Aug-24-2021, 10:34 PM - Forum: GUI - Replies (2)

[python]import tkinter as tk

root = tk.Tk()
logo = tk.PhotoImage(file="python_logo_small.gif")

w1 = tk.Label(root, image=logo).pack(side="right")

e..... More

Print this item

  Python library for win32 console commands
Posted by: eldiener - Aug-24-2021, 07:40 PM - Forum: General Coding Help - Replies (3)

I am a knowledgeable Python programmer. I want to convert my Wiindows .bat files to Pythin scripts. Is there any Python library which implements the m..... More

Print this item

  Data Engineer In Issaquah, WA [USD 93K to 111K]
Posted by: patpat - Aug-24-2021, 07:10 PM - Forum: Jobs - No Replies

Nationally recognized for excellence, the King County Library System (KCLS) is seeking an experienced and knowledgeable Data Engineer to design and de..... More

Print this item

  Cython Numpy EWA
Posted by: Johanoosterwaal - Aug-24-2021, 06:23 PM - Forum: Code Review - No Replies

Hi Everyone,

I'm working on a back testing EWA script based on python and Cython(Still new to it) for speed.
almost all of my code in almost full..... More

Print this item

  Working with excel files
Posted by: arsouzaesilva - Aug-24-2021, 06:13 PM - Forum: General Coding Help - Replies (6)

Hi,

I have one excel file with 2 sheets. There are 6 columns, year, month, day, T2M_MAX, T2M_MIN e PRECTOT.

I need to select in year 2015 the hi..... More


Attached Files

.xlsx   sample.xlsx (Size: 11.79 KB / Downloads: 333)
Print this item

  Multiprocessing Can't pickle local object
Posted by: law - Aug-24-2021, 03:27 PM - Forum: General Coding Help - Replies (1)

I finally decided to experiment on the multiprocessing module, however I run straight into a ditch where am currently hitting my head against it's wal..... More

Print this item

  changing and getting value through button
Posted by: niski1996 - Aug-24-2021, 02:32 PM - Forum: GUI - Replies (2)

Hi
I have two moduls named First: [python]
import tkinter as tk

from Second import ManualNodes

class CC:
def __init__(self):
r..... More

Print this item

  Pop function for lists
Posted by: jamesaarr - Aug-24-2021, 11:57 AM - Forum: General Coding Help - Replies (8)

Hello,

I've got a two lists, one with integers and one with data and I need to remove items from the data, using the integers as index references...... More

Print this item

  cleaning HTML pages using lxml and XPath
Posted by: wenkos - Aug-24-2021, 11:04 AM - Forum: Web Scraping & Web Development - Replies (2)

I'm new to python and lxml. I have some basic task: I need cleanup html files in local directory (recursively).
I want to remove unnecessary divs inc..... More

Print this item

  Can Python be used to create scrolling credits (as follows)
Posted by: digger - Aug-24-2021, 09:18 AM - Forum: General Coding Help - Replies (3)

I'm trying to decide whether to learn Python, because I have a specific requirement. I need to write a program that will create a video that contains ..... More

Print this item

  i don't understand this exception
Posted by: Skaperen - Aug-24-2021, 01:09 AM - Forum: General Coding Help - Replies (9)

i am getting this:
[output]
Traceback (most recent call last):
File "amijsonxz_get.py", line 83, in <module>
all_regions = [x.strip()for x i..... More

Print this item

  Rotating a rectangle
Posted by: CompleteNewb - Aug-23-2021, 09:20 PM - Forum: Game Development - Replies (19)

Hello, i'm having trouble rotating a rectangle on screen. I'm not a computer science student and I need help because I have been at it for a couple of..... More

Print this item

  q re glob.iglob iterator and close
Posted by: jimr - Aug-23-2021, 07:39 PM - Forum: General Coding Help - Replies (2)

I'm struggling to find any documentation that tells me how I should properly "short circuit" a glob.iglob iterator.

I have some code that needs to ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 32 minutes ago lary_p jefsummers Homework
  Help with Serial.write in... 2 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578843
  Tutorial Requ... 509882
  Web Scraping ... 441917
  Newbie with P... 385919
  New Users Int... 376173
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10

User Panel Messages

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