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,389
» Latest member: finallen321
» Forum threads: 38,821
» Forum posts: 176,019

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 25 Guest(s)
Apple, Google, AOL, Bing

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: finallen321
1 hour ago
» Replies: 0
» Views: 20
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
1 hour ago
» Replies: 9
» Views: 204
IP address for users
Forum: Networking
Last Post: itx_sumeet
11 hours ago
» Replies: 4
» Views: 7,058
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Today, 01:10 AM
» Replies: 5
» Views: 9,881
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 132
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 73
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 136
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,290
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 100
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 753

 
  error handler appears to be turned off. How do I turn it back on?
Posted by: jpotter0 - Nov-26-2022, 11:44 AM - Forum: General Coding Help - No Replies

I am using pyaedt to write scripts for ANSYS HFSS. I think my issue is Python related.

I have a code segment that was working but is now not workin..... More

Print this item

  Openpyxl overwrite Linechart
Posted by: SamLiu - Nov-26-2022, 05:44 AM - Forum: General Coding Help - No Replies

Hi All,
Is there any way to overwrite linechart in excel?It get more chart in excel during running *.Py code. Please refer to attachment file.
If h..... More

Print this item

  Listen TCP and send data to websockets
Posted by: neoboby - Nov-25-2022, 11:24 PM - Forum: Networking - Replies (3)

Hello,

I have a trouble to do what i want.

I'm not a Python developper...

I have a software who can provide me somme data, but, this software can ..... More

Print this item

  deleting columns in CSV file
Posted by: astral_travel - Nov-25-2022, 09:53 PM - Forum: General Coding Help - Replies (8)

is there a way, with pandas or otherwise - to specify a range of columns to be deleted without writing the name/header of the columns ? as in pop() an..... More

Print this item

  Zfill Method Parameter Confusion
Posted by: new_coder_231013 - Nov-25-2022, 06:19 PM - Forum: General Coding Help - Replies (3)

Hello,

I was going through a tutorial on Unicode and character encodings in Python and I came across a function that the author presents as a way t..... More

Print this item

  "unexpected keyword arg" when initializing my subclasses
Posted by: Phaze90 - Nov-25-2022, 11:42 AM - Forum: General Coding Help - Replies (3)

Hi,

i get confused when i build my class stuctures. I got 2 questions.

1.
Since all of my classes will use the some base attributes i collecte..... More

Print this item

  Clarity on global variables
Posted by: JonWayn - Nov-25-2022, 10:44 AM - Forum: General Coding Help - Replies (2)

I have some code in which I have global variables which are accessed within functions but only in some cases they are recognized. I read online that t..... More

Print this item

  Turtle.setpos() vs text position on screen query
Posted by: ElectronWrangler - Nov-25-2022, 07:00 AM - Forum: General Coding Help - No Replies

The program draws three centered lines on the screen and writes text at the same Y position. The text floats above the line with the spaceing between ..... More

Print this item

  no such file or directory in SFTP
Posted by: saisankalpj - Nov-25-2022, 06:59 AM - Forum: General Coding Help - Replies (2)

I am using sftp.put() to upload files into SFTP server.But i am following error

Error:
No such file or directory
This is my present folder s..... More

Print this item

  Tetris running too fast to failure
Posted by: yoh200 - Nov-25-2022, 06:10 AM - Forum: General Coding Help - No Replies

I have been looking into tutorials and its taken me a while but I managed to follow TechwithTim's tutorial and understand it. The code runs and I am n..... More

Print this item

  CPU vs GPU
Posted by: astral_travel - Nov-24-2022, 11:26 PM - Forum: General Coding Help - Replies (10)

hi,
okay so i understood that the GPU can also compute parallel and is also suitable for that,
i understood there's a software called CUDA that make..... More

Print this item

  while loops
Posted by: CJM125 - Nov-24-2022, 10:08 PM - Forum: Homework - Replies (4)

I'm completely new to Python and coding in general. I've been asked to write a program that always asks the user to enter a number. When the user ente..... More

Print this item

  Pydroid3 app crashes on xiaomi poco F3
Posted by: JMD - Nov-24-2022, 04:58 PM - Forum: General Coding Help - Replies (2)

Hi everyone,
I am a new member as of today.
I am developing a prototype application for remote control. It has the following architecture:
On my smart..... More

Print this item

  Updating tkinter text
Posted by: BliepMonster - Nov-24-2022, 03:40 PM - Forum: GUI - Replies (5)

Is there any possible way to update the canvas text with the tkinter canvas? I have a variable with the number that has to keep updating and a variabl..... More

Print this item

  Teaching my kids Python - best resources?
Posted by: cnd - Nov-24-2022, 04:39 AM - Forum: Bar - Replies (8)

I've been coding since 1982, learned python seriously a few years back (I'm a perl bigot) and my teenagers are about to start University to learn codi..... More

Print this item

  'NoneType' error
Posted by: YL1985 - Nov-24-2022, 02:14 AM - Forum: General Coding Help - Replies (9)

Hello, quite new to Python and would be happy for some help with an exercise I'm working on.
I'm trying to write a tip with $ and % signs and get ans..... More

Print this item

  Json filter is not capturing desired key/element
Posted by: mrapple2020 - Nov-23-2022, 10:26 PM - Forum: General Coding Help - Replies (1)

Hello, I am trying to do the following:

1) Read the Json file (sample output attached).
2) If account ID is 4254254 AND "compliance": "Fail", I ne..... More


Attached Files

.json   to.json (Size: 3.21 KB / Downloads: 598)
Print this item

  Copying files if the name is in range
Posted by: tester_V - Nov-23-2022, 10:03 PM - Forum: General Coding Help - Replies (9)

Greetings!
I'm trying to copy files if the file name has a digit and it is in the range of 0-3.
files in a directory go like this:
file.txt
file-1..... More

Print this item

  add object and name in list
Posted by: 3lnyn0 - Nov-23-2022, 08:05 PM - Forum: General Coding Help - Replies (4)

Hi! How can I add in both list (in first fname and in second the person object) every time when I creat a Person?
Secondary how can I add in a list o..... More

Print this item

  How to create a menu and execute a function based on user selection in python?
Posted by: Thedarkphoenix - Nov-23-2022, 06:40 PM - Forum: Homework - Replies (1)

Hello, I am making a program that looks for the root of a polynomial by different methods (bisection, false position, raphson and secant).
I have the ..... More

Print this item

  data file for .exe program to access
Posted by: ose - Nov-23-2022, 04:51 PM - Forum: General Coding Help - Replies (2)

Hello.
My question is hypothetical regarding whether Python would be the correct choice.
I have written a few Python programs being an amateur, that ..... More

Print this item

  Length of rows
Posted by: Krissstian - Nov-23-2022, 03:03 PM - Forum: General Coding Help - Replies (1)

Hi,

How can I determine number of a value occur in a column from an sql db?

[python]con = pymysql.connect(host='localhost', user='root', password='*..... More

Print this item

  Read nested data from JSON - Getting an error
Posted by: marlonbown - Nov-23-2022, 12:32 AM - Forum: General Coding Help - Replies (5)

i[python]mport json

#Later this will be extracted from a file
RAW_DATA = """ {
“991998795651": {
"cloudformation": {
"CloudFormatio..... More

Print this item

  What does that angle brackets mean?
Posted by: NewPi - Nov-23-2022, 12:15 AM - Forum: Data Science - Replies (5)

Hey, I am learning some numpy, matplotlib and pandas stuff.
And I wondered about some angle brackets in the output of this code (housing is a pandas ..... More

Print this item

  PyAutogui write Dollar Sign Dutch keyboard not working
Posted by: alato - Nov-22-2022, 11:25 PM - Forum: General Coding Help - No Replies

Hi 2 every 1,

I am using PyAutoGui to automate a login with Putty.

if I use PyAutoGui.write('This sign $ is a dollar sign')
The output will be ..... More

Print this item

  Please help me [copy and paste file from src to dst]
Posted by: midomarc - Nov-22-2022, 11:02 PM - Forum: General Coding Help - Replies (2)

I need to copy and paste a file with certain extensions from one location to another and receive notify by Mail from outlook if file it doesn't alread..... More

Print this item

  Speeding up iterating over rows
Posted by: NeoXx - Nov-22-2022, 01:22 PM - Forum: Data Science - Replies (3)

I cannot figure out how to speed up the following problem by vectorising.

I have a big (millions of rows) Pandas DataFrame of price changes in time..... More


Attached Files

Thumbnail(s)
   
Print this item

  Openpyxl make LineChart
Posted by: SamLiu - Nov-22-2022, 06:54 AM - Forum: General Coding Help - No Replies

Hi all,
I want to use openpyxl make LineChart as Line with markers style.
when run code get new chart need to modify Horizontal axis crosses-->Axis ..... More

Print this item

  ModuleNotFoundError
Posted by: mawarir - Nov-22-2022, 12:33 AM - Forum: General Coding Help - Replies (1)

I am trying to run a code that works in another laptop but not sure why i am getting the following error message:

[b]ModuleNotFoundError: No module..... More

Print this item

  stock trading GUI
Posted by: astral_travel - Nov-21-2022, 09:37 PM - Forum: GUI - Replies (1)

how can i make something like the application in the attached picture ? (style wise)

the chart and the features around it has to be interactive........ More


Attached Files

Thumbnail(s)
   
Print this item

  bytearray object - why converting to ascii?
Posted by: Chepilo - Nov-21-2022, 05:36 PM - Forum: General Coding Help - Replies (2)

I am a new Python developer.
Albeit new, I come from a C background.

I have a file of bytes I want to read into a bytearray() object. SOME of t..... More

Print this item

  Need help fixing Index Error
Posted by: adesimone - Nov-21-2022, 05:09 PM - Forum: Homework - Replies (1)

Hi,

This is for a class project. The course is not a coding course, but we do use code to complete homework and projects (yes, it is as confusing a..... More

Print this item

  Add buttons to StackLayout after 'Enter'
Posted by: Sosik1993 - Nov-21-2022, 01:37 PM - Forum: GUI - No Replies

Hi! I'm beginner in Python.
I want to add buttons to Wyniki(StackLayout) when I write something in TextInput and click Enter. I have written a progra..... More


Attached Files

Thumbnail(s)
   
Print this item

  Menu Choice Selection not Working
Posted by: ChLenx79 - Nov-21-2022, 10:16 AM - Forum: General Coding Help - Replies (5)

Morning all. Hope you are all well.

So I have recently started to learn python and i am a bit stuck.

I am working on a simple menu but for some ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Python Program to Find the Factorial of a Number
Posted by: elisahill - Nov-21-2022, 07:55 AM - Forum: Homework - Replies (2)

[python]
# Python program to find the factorial of a number provided by the user.

# change the value for a different result
num = 7

# To take ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 1 hour ago finallen321 finallen321 General Codin...
  Calling python from anoth... 1 hour ago eedjsa eedjsa General Codin...
  IP address for users 11 hours ago Robots itx_sumeet Networking
  Lottery generator (beginn... Today, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580347
  Tutorial Requ... 518951
  Web Scraping ... 442767
  Newbie with P... 386946
  New Users Int... 386135
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
finallen321 Today
DTECHSYSTEM Today
zashleyfracesz3221 Today
itx_sumeet Today
zaathonyshulze4201 Today

User Panel Messages

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