Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,940
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 34 Guest(s)
AOL, Google, Bing, Facebook Dev, AOL, Mojeek

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
4 hours ago
» Replies: 1
» Views: 160
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 8
» Views: 318
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,503
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 900
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,248
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,775
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,569
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,672
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,859
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,414

 
  Running total counter
Posted by: Crenshaw - Mar-05-2021, 01:29 PM - Forum: General Coding Help - Replies (2)

I am working on a project that I need to keep a running total of how many times the output was signaled. I cannot figure out how to perform the operat..... More

Print this item

  pysnmp how to find msgGlobalData msgID from snmpV3 inform
Posted by: charliebsimms - Mar-05-2021, 11:13 AM - Forum: Networking - No Replies

We are using pysnmp to transform snmpV3 informs from devices and are successfully processing the messages.
Problem:
If alarms do not arrive i..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 4 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... 8 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576565
  Tutorial Requ... 498556
  Web Scraping ... 440432
  Newbie with P... 384337
  New Users Int... 367541
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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