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,259
» Latest member: JamesFalkner
» Forum threads: 38,783
» Forum posts: 175,839

Full Statistics

Online Users
There are currently 35 online users.
» 3 Member(s) | 27 Guest(s)
Bing, Google, Applebot, Mojeek, kshahzad1985, tsgiannis

Latest Threads
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
2 hours ago
» Replies: 0
» Views: 32
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 10
» Views: 207
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
5 hours ago
» Replies: 3
» Views: 110
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 193
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 372
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 125
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 257
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 408
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 154
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,647

 
  Grid_Destory() Not Working
Posted by: finndude - Mar-04-2021, 02:00 PM - Forum: GUI - Replies (2)

Hi All,

I have the below code. Basically, the computer picks a number and the user's job is to guess the number, they have three tries. Every time ..... More

Print this item

  temporarily buffer output, and output it later
Posted by: rowan_bradley - Mar-04-2021, 01:22 PM - Forum: General Coding Help - Replies (5)

I have a program where I have created a monitor thread to tell me that things are still happening while lengthy tasks are running in my main thread. ..... More

Print this item

  bluetooth_adapter error
Posted by: rowan_bradley - Mar-04-2021, 01:16 PM - Forum: General Coding Help - Replies (4)

I'm using Pythion v3.9.1 in Windows 10 64-bit. When I run the sript that I'm developing, I get an error mesage like this:

PS D:\XPS_8700 Extended F..... More

Print this item

  quartile and average
Posted by: dawid294 - Mar-04-2021, 10:57 AM - Forum: Data Science - No Replies

Hello i need help with quartile in python

I have this data and i would like to create quartile from column NUMBER and average values from column ex..... More

Print this item

  Setup working directory in IDLE
Posted by: Pavel_47 - Mar-04-2021, 09:35 AM - Forum: General Coding Help - Replies (3)

Hello,
Does exist a possibility to specify default working directory in IDLE tool under Ubuntu ?
Under working directory I mean the output of the [b..... More

Print this item

  import statement in a virtual environment
Posted by: leodavinci1990 - Mar-04-2021, 12:23 AM - Forum: General Coding Help - Replies (1)

If I create a directory and activate a virtual environment inside it and then use PIP to install some packages.
Is this the case that as long as the..... More

Print this item

  Special Methods in Class
Posted by: Nikhil - Mar-03-2021, 11:24 PM - Forum: General Coding Help - Replies (3)

Hello, I want to know how the special methods in class will be useful in Python like

__str__ and __len__

Can anyone clearly explain this method ..... More

Print this item

  Undesired space after using \n in print
Posted by: Tuxedo - Mar-03-2021, 09:48 PM - Forum: General Coding Help - Replies (4)

This has been bugging me for a long time. The output has the first line shifted one space to the right. How to avoid the extra space?

[python]x..... More

Print this item

  Running python scripts from github etc
Posted by: pacmyc - Mar-03-2021, 08:18 PM - Forum: General Coding Help - Replies (7)

Hi.
I sometimes find some python scripts on github for example that I want to try out, but the documentation doesn't include instructions how to run ..... More

Print this item

  Auto-populate Macro variables
Posted by: Spartan314 - Mar-03-2021, 07:22 PM - Forum: General Coding Help - Replies (3)

I've been assigned the task of looking up master routing information for a part number, and changing the assigned Purchase Requisition information fro..... More

Print this item

  Understanding Keras and TensorFlow and how to use them
Posted by: bytecrunch - Mar-03-2021, 07:13 PM - Forum: Data Science - Replies (1)

Hello,

I am new to deep learning but realize that Keras and TensorFlow are two very important DL libraries.

My understanding is that Keras is an..... More

Print this item

  Grid_Destory() Not Working
Posted by: finndude - Mar-03-2021, 06:53 PM - Forum: General Coding Help - Replies (6)

Hi All,

I have the below code. Basically what the program does is, the computer chooses a number and the users role is to try and guess the number,..... More

Print this item

  LinkedList by User Input
Posted by: SantiagoPB - Mar-03-2021, 06:47 PM - Forum: General Coding Help - Replies (5)

Hello everyone, my name is Santiago Big Grin .

I have to write a program that reads a sequence of numbers one by one and stores them in a Linke..... More

Print this item

  Python tkinter question tablet
Posted by: Nick_tkinter - Mar-03-2021, 05:53 PM - Forum: GUI - Replies (8)

Hello.I have a question about GUI python tkinter.For example if I have buttons and joystick in my app I control them with my mouse.So,if I have a tabl..... More

Print this item

  How to break out of nested loops
Posted by: pace - Mar-03-2021, 10:33 AM - Forum: General Coding Help - Replies (11)

I'm struggling with a piece of code that I am writing for a computer security course.
I am trying to write a piece of test code that test a 4 digit pa..... More

Print this item

  OpenCV location on Ubuntu
Posted by: Pavel_47 - Mar-03-2021, 09:47 AM - Forum: General Coding Help - Replies (3)

Hello,
For my code I need to know OpenCV location on my Ubuntu machine.
How to check it ?
Thanks

Print this item

  Fibonacci graphics ideas?
Posted by: michael1789 - Mar-03-2021, 04:15 AM - Forum: Game Development - Replies (24)

[python]
def gen_fib(start, length):
fib = [0, start]
for i in range(length):
fib.append(fib[-2] + fib[-1])
return fib

pri..... More

Print this item

  how do i find the canvas location of an object?
Posted by: gr3yali3n - Mar-03-2021, 02:08 AM - Forum: GUI - Replies (8)

while i try to get the canvas or even the bbox coordinates of an object i am either getting None returned or the object is returning the memory locati..... More

Print this item

  Python 3.9 : BeautifulSoup: 'NoneType' object has no attribute 'text'
Posted by: fudgemasterultra - Mar-03-2021, 01:41 AM - Forum: Web Scraping & Web Development - Replies (1)

So I am trying to pull data from a website via a scraper.
When I try this code out I am getting an error
[python]wo_span_name = w_span_name.text
A..... More

Print this item

  Referenced before assignment
Posted by: finndude - Mar-02-2021, 07:39 PM - Forum: General Coding Help - Replies (3)

Hi All,

Im having an error where it says that the variable is being referenced before assignment. As seen below.

[error]
Incorrect Username, pl..... More

Print this item

  python application and credentials safety concern
Posted by: aster - Mar-02-2021, 06:32 PM - Forum: General Coding Help - Replies (4)

Hello,

I finished an application with a simple GUI which uses a Google's OAuth 2.0 for authentication and send some emails. At this time I am build..... More

Print this item

  in a function checking for caller errors
Posted by: Skaperen - Mar-02-2021, 06:23 PM - Forum: News and Discussions - Replies (3)

i have a function with a bunch of arguments, 3 of which have a lot of choices. i worry that it is easy for development of the calling code to make mi..... More

Print this item

  tkinter get function
Posted by: finndude - Mar-02-2021, 03:41 PM - Forum: GUI - Replies (2)

Hi,

I have the below code. What i want it to do is that when the button is clicked it outputs what is in the two entry boxes. However when I press ..... More

Print this item

  Python Program running a lot slower after change to Ubuntu
Posted by: hubenhau - Mar-02-2021, 11:47 AM - Forum: General Coding Help - Replies (1)

Hello,

I have a program that I wrote and used in Windows.
It's using opencv-pythons template matching to find a lot of pictures very quickly.
On ..... More

Print this item

  Paramiko SSH Session -> Authentification failed
Posted by: werwurm01 - Mar-02-2021, 08:15 AM - Forum: Networking - No Replies

Hello
i am new in Python and in this forum.
For my work i need an SSH Connection to an Ethernet NT from different Company. The Goal should be the au..... More

Print this item

  Code should download and output trading data
Posted by: tayy - Mar-02-2021, 06:57 AM - Forum: General Coding Help - Replies (2)

Hello Python gurus.

I am trying to create and run a Python script that will download and output the AAPL stock data into an Excel file from th..... More

Print this item

  Simple printing the text for a QLineEdit
Posted by: thewolf - Mar-02-2021, 01:41 AM - Forum: GUI - Replies (16)

I'm simply trying to print whatever the user has typed in the QLineEdit named self.snTextBox using the QPushButton called self.cfButton. I tried using..... More

Print this item

  Selenium: Click on a Link Error
Posted by: iamaghost - Mar-02-2021, 12:44 AM - Forum: General Coding Help - No Replies

hey guys,

im currently trying to acces a link via Selenium. The Link named 'Ansehen' exists X amount of times, so the only difference in the source c..... More

Print this item

  say 1st or 2nd?
Posted by: Skaperen - Mar-02-2021, 12:12 AM - Forum: News and Discussions - Replies (5)

suppose my function returns a 2-list or 2-tuple to the caller. documenting this function needs to refer to the item that would be accessed with [1]. ..... More

Print this item

  Question about formula implementation in general format
Posted by: Alienspecimen - Mar-01-2021, 08:39 PM - Forum: General Coding Help - No Replies

Hello,


I have the following formula:

y = a1cos(θ1) +a2cos(θ1+θ2) +...+ancos(θ1+...+θn)

The goal is to implement it in Python so it works wi..... More

Print this item

  pywinauto, anyone use it?
Posted by: thewolf - Mar-01-2021, 08:26 PM - Forum: General Coding Help - Replies (1)

My company uses Ivanti Security Controls to patch our machines. Right now there is no way to start and stop a patch task instantly from the console/se..... More

Print this item

  Help with structuring a program
Posted by: matt_the_hall - Mar-01-2021, 05:26 PM - Forum: General Coding Help - Replies (2)

Hello,

I'm working on building a small, console based IMAP client using the py_cui and imapclient libraries. I got an initial script up and running..... More

Print this item

  GUI calculation mistake
Posted by: rturus - Mar-01-2021, 04:15 PM - Forum: GUI - Replies (5)

Hi all,

Can anyone tell me why my calculation (total_hscore (at the end of the code) is coming to zero please?
Thanks,

[python]
def openHistor..... More

Print this item

  How to get utcnow + 2 hours?
Posted by: korenron - Mar-01-2021, 02:30 PM - Forum: General Coding Help - Replies (2)

Hello ,
I have a running code the send to a client current_time
I have notice that it send him time in this way:

[python]current_time=datetime.u..... More

Print this item

  multi np.where
Posted by: dawid294 - Mar-01-2021, 02:17 PM - Forum: Data Science - Replies (2)

Hello guys. I need help. Can you help me with code. I have not found it anywhere. I use np.where but I would like to use np.where as if in excel. I ne..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt6 QWidgets and system... 2 hours ago stevecoh1 stevecoh1 GUI
  [solved] re.split issue 2 hours ago paul18fr deanhystad General Codin...
  Please guide me to comple... 5 hours ago pbkurd Larz60+ General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [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...
Most views
  The best Prog... 578956
  Tutorial Requ... 510422
  Web Scraping ... 441971
  Newbie with P... 385991
  New Users Int... 377000
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+ 12108
buran 8195
snippsat 7388
deanhystad 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JamesFalkner Today
stevecoh1 Today
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday

User Panel Messages

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