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,398
» Latest member: zasamueluniorz7349
» Forum threads: 38,825
» Forum posts: 176,036

Full Statistics

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

Latest Threads
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 102
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 2
» Views: 92
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,175
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,634
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 185
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,614
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 271
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,633
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 244
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 383

 
  Not rounding to desired decimal places?
Posted by: pprod - Mar-05-2021, 10:29 AM - Forum: General Coding Help - Replies (2)

Hi,
I'm trying to get my head round this: I've rounded all items in a list (List A) to 5 decimal places and created a variable (List B) that takes th..... More

Print this item

  Python C++ wrapper problem
Posted by: JESuh - Mar-05-2021, 04:43 AM - Forum: General Coding Help - Replies (1)

Hello,
I'm trying to write some part of my code in c++ and wrap it to use in a code written in python.
(Because my code has many loops so it takes f..... More

Print this item

  How to dynamically change radiobutton text
Posted by: kenwatts275 - Mar-04-2021, 11:44 PM - Forum: GUI - Replies (2)

Hello everybody.
I am trying to dynamically change the text of a radio button.
Below is an example program. When you run it, when you click on the "..... More

Print this item

  Convert email addresses to VCF format
Posted by: jehoshua - Mar-04-2021, 10:22 PM - Forum: General Coding Help - Replies (2)

We need to transfer some names and email addresses from Claws mail address book to a Samsung Galaxy Tab A. To understand what the Galaxy wanted , did..... More

Print this item

  too many methods in class - redesign idea?
Posted by: Phaze90 - Mar-04-2021, 10:17 PM - Forum: General Coding Help - Replies (3)

I have one xml file (famtree.xml) that I read in, that holds many parameters about family tree data. It has many levels, root level is me, then parent..... More

Print this item

  Closing before complete
Posted by: finndude - Mar-04-2021, 09:51 PM - Forum: General Coding Help - Replies (3)

Hi All,

This code is supposed to have the computer pick a number, the player has 3 lives to guess the number, and when they run out of lives the ga..... More

Print this item

  tkinter button image
Posted by: Nick_tkinter - Mar-04-2021, 08:33 PM - Forum: GUI - Replies (4)

Hello.I have the following image inside a button and I want to cut the regional white color.How can I do it?
I also have (activaforefound = activebac..... More

Print this item

  Cleaning HTML data using Jupyter Notebook
Posted by: jacob1986 - Mar-04-2021, 07:58 PM - Forum: Web Scraping & Web Development - Replies (7)

I need help cleaning extracting HTML code, the output is showing the data with commas inbetween the information (small example shown as below). My ful..... More

Print this item

  How can I write a function with three parameters?
Posted by: MehmetAliKarabulut - Mar-04-2021, 04:24 PM - Forum: General Coding Help - Replies (1)

I want to write a function with three parameters in Python. The output of the function should be data frame and it should filter the list given to the..... More

Print this item

  How can I write a function with three parameters?
Posted by: MehmetAliKarabulut - Mar-04-2021, 04:01 PM - Forum: Homework - Replies (3)

I want to write a three parameter function in Python. The output of the function should be data frame and it should square the given column. For examp..... More

Print this item

  Help adding memory buttons/commands in the calculator
Posted by: joelpub - Mar-04-2021, 03:07 PM - Forum: General Coding Help - Replies (5)

Good morning. I have a calculator and I need to make the buttons MS (save to memory), M+ (sum what's saved in memory to the actual screen value) and M..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Check if running from she... 2 hours ago rjdegraff42 noisefloor General Codin...
  Sorry Help 2 hours ago BioNanoTech noisefloor General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580475
  Tutorial Requ... 520024
  Web Scraping ... 442797
  Newbie with P... 387015
  New Users Int... 386782
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
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30

User Panel Messages

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