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,235
» Latest member: Alfredd
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 33 Guest(s)
Bing, Applebot, Google

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 3
» Views: 71
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
7 hours ago
» Replies: 3
» Views: 90
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 63
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 97
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,019
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,550
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 178
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,192
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,437

 
  I dont know why my function won't work?
Posted by: MehHz2526 - Nov-28-2022, 08:52 PM - Forum: General Coding Help - Replies (3)

[python]
purchase = 1
def write():
shop =input("What shop did you shop at?")
sipCard =int(input("What is your sip card?"))
sipCardexi..... More

Print this item

  Learning
Posted by: astral_travel - Nov-28-2022, 08:40 PM - Forum: News and Discussions - Replies (2)

say do you ever feel overwhelmed by the immensity of all that has to be learned in order to achieve your goal ?

Print this item

  Printing a raw string with a folder separator at the end, duplicates the separator
Posted by: krulah - Nov-28-2022, 09:12 AM - Forum: General Coding Help - Replies (5)

There are two acceptable ways to define a path to a directory/folder, with and without the end separator
[python]path_wo_sep = r"c:\temp"
path_w_sep =..... More

Print this item

  Graphs from Jupyter notebook to word
Posted by: Scott - Nov-28-2022, 06:16 AM - Forum: General Coding Help - No Replies

Hi Everyone,

Is there an easier way to get graphs from Jupyter notebook to work? I have several graphs to transfer but when I copy paste the size i..... More

Print this item

  Issue in writing sql data into csv for decimal value to scientific notation
Posted by: mg24 - Nov-28-2022, 05:44 AM - Forum: General Coding Help - Replies (8)

Hi Team,

I am trying to write sql table data into csv.
but facing one issue.

if column has below decimal values, I am not getting same value into cs..... More

Print this item

  convert a list to links
Posted by: Pir8Radio - Nov-27-2022, 11:47 PM - Forum: General Coding Help - Replies (3)

hi I am currently using this javascript and would love to do it natively in python... can someone lend me a hand getting the same result as I do wit..... More

Print this item

  Pyside6
Posted by: Larz60+ - Nov-27-2022, 10:42 PM - Forum: GUI - Replies (7)

I wrote some early Qt code using the designer, and have used tkinter and wxpython almost exclusively since.
I am now in early learning of QT using Py..... More

Print this item

  Hello again, all :)
Posted by: nilamo - Nov-27-2022, 07:07 PM - Forum: News and Discussions - Replies (3)

I've been spending a lot of time with c# over the past couple years, and I'm looking to get back into python for a personal project. But since it's b..... More

Print this item

  platformer enemy animation
Posted by: Yegor123 - Nov-27-2022, 07:05 PM - Forum: Game Development - Replies (2)

Im making a platformer and I wanted to make animated enemies ive been lookin up tutorials on how to do that and It doesnt work here is my code. the co..... More

Print this item

  could somebody tell me how I fix an index error?
Posted by: MehHz2526 - Nov-27-2022, 06:41 PM - Forum: Homework - Replies (3)

[python]
def reciept():
name =input("what is your name?")
sipCard =int(input("What is your sip card"))
twoforone =int(input("How many ..... More

Print this item

Lightbulb shutdown host from docker container
Posted by: cosmin1805 - Nov-27-2022, 06:34 PM - Forum: General Coding Help - No Replies

Hello, I am trying to shutdown and reboot my LINUX devices from a python script that runs in a docker container, this code I was using pre-dockerizin..... More

Print this item

  PANDAS
Posted by: astral_travel - Nov-27-2022, 04:55 PM - Forum: Data Science - Replies (11)

i have used this certain method in my script, dtypes,
for some reason it gives one more column info, even though this column is not visible...(nor exi..... More

Print this item

  Script File Failure-Path Error?
Posted by: jerryf - Nov-27-2022, 04:02 PM - Forum: General Coding Help - Replies (13)

I am new to Python and this forum (but not general programming) and looking for help in understanding how Python Interpreter interacts with PATH and P..... More


Attached Files

.docx   Script File Failure & Python Path Error.docx (Size: 13.45 KB / Downloads: 293)
Print this item

  Inheritance from complex
Posted by: konverner - Nov-27-2022, 03:32 PM - Forum: General Coding Help - Replies (1)

Hello

I want to create a class "Point" that is a child from Python's complex class.

Here is my code

[python]
class Point(complex):
def __init__(s..... More

Print this item

  Can't get a new program to work
Posted by: jpotter0 - Nov-27-2022, 11:26 AM - Forum: General Coding Help - Replies (2)

I am trying to create a small program to test the assign_symmetry function.

I copied the initialization from a working script, but I get a message ..... More

Print this item

  Returning a message when SQL server is unavailable
Posted by: Krissstian - Nov-27-2022, 11:22 AM - Forum: GUI - Replies (2)

I'm using pymysql and I have a login script like the one bellow:
How can I raise a message to user when the sql server is unavailable?

[python]imp..... More

Print this item

  How can set different Jinja2 version for different app?
Posted by: luofeiyu - Nov-27-2022, 06:08 AM - Forum: General Coding Help - Replies (1)

Jinja2 is a templating engine,sphinx need it to work. My sphinx use jinja2 in /usr/lib/python3/dist-packages/jinja2 whose version is 2.11.3.I inst..... More

Print this item

  difficult string conversion need help
Posted by: Pir8Radio - Nov-27-2022, 05:57 AM - Forum: General Coding Help - Replies (3)

difficult for me anyway... I have a long hex little endian string... within this string are 9 sets of 16 characters. this string can vary fro..... More

Print this item

  optimizing calls to isinstance()
Posted by: Skaperen - Nov-27-2022, 01:32 AM - Forum: News and Discussions - No Replies

does CPython optimize calls to isinstance() when argument 2 is a well know class (e.g. a type like int) "literal" or a list or tuple of them?

i am ..... More

Print this item

  my first file won't create itself
Posted by: MehHz2526 - Nov-27-2022, 12:11 AM - Forum: General Coding Help - Replies (2)

[python]
name =input("what is your name?")
sipCard =int(input("What is your sip card"))
twoforone =int(input("How many of the two for one deals wou..... More


Attached Files

.py   file.py (Size: 410 bytes / Downloads: 243)
Print this item

  Help with Logical error processing List of strings
Posted by: dmc8300 - Nov-26-2022, 03:44 PM - Forum: General Coding Help - Replies (3)

This code is to remove one item from a List of "names" until the List is empty using for loop. The program does not complete the List stopping befor..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 4 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 7 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578672
  Tutorial Requ... 509060
  Web Scraping ... 441834
  Newbie with P... 385782
  New Users Int... 375019
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday
ironwolfan7Dip Yesterday

User Panel Messages

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