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,265
» Latest member: Rerus3700
» Forum threads: 38,788
» Forum posts: 175,851

Full Statistics

Online Users
There are currently 26 online users.
» 1 Member(s) | 23 Guest(s)
Bing, Google, arunmozhi

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: noisefloor
30 minutes ago
» Replies: 1
» Views: 20
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 111
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 71
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 69
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 321
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 48
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 82
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 289
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 152
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 255

 
  Get name of command button
Posted by: Heyjoe - Dec-07-2020, 08:45 PM - Forum: GUI - Replies (3)

[python]
import tkinter as tk

root = tk.Tk()
myfont = "helvitica 25"
mybg = "light sky blue"
myheight = 4
mywidth = 60
myheight2 = 6
mywidth..... More

Print this item

  What does image.setMask do?
Posted by: A01 - Dec-07-2020, 06:29 PM - Forum: Homework - Replies (3)

What does image.setMask do? (Does it make parts of the image transparent, or is it like an overlay?) Why does the mask have to be a square? Is there a..... More

Print this item

  Flask login help
Posted by: dangermaus33 - Dec-07-2020, 04:06 PM - Forum: Web Scraping & Web Development - No Replies

I have a simple client app that accesses a flask web service to get data from a database and then write to a database. I make three calls to the web s..... More

Print this item

  Recommend Recent Python Books or Online Tutorials
Posted by: muzikman - Dec-07-2020, 03:37 PM - Forum: Homework - Replies (7)

Greetings,

I want to know if there are any recent Python books that cover python from beginning to end. There are so many resources online on how t..... More

Print this item

  Comparing results within a list and appending to pandas dataframe
Posted by: Aryagm - Dec-07-2020, 02:59 PM - Forum: Data Science - Replies (1)

I am doing a dummy project to hone my python skills and there is a problem I am encountering. I have a pandas column with many values inside it, I wan..... More

Print this item

  AttributeError : method has no attribute
Posted by: djwilson0495 - Dec-07-2020, 12:02 PM - Forum: Game Development - Replies (2)

Hi I'm trying to make a basic alien invasion game but when I try to load a ship image into the midbottom of the game screen I get an error. Here is th..... More

Print this item

  Django
Posted by: safakatar38 - Dec-07-2020, 08:40 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello everyone. First of all ı'm from Turkey and if my english is bad I'm sorry. I've been learning html,css, js(little bit) and django since 3 months..... More

Print this item

  Collatz-problem
Posted by: CaptainNeemo - Dec-07-2020, 08:14 AM - Forum: Homework - Replies (2)

Dear forum,
I got a question to my function below:
The problem is the return value of tau() is integer usually, but if I call tau() from test() th..... More

Print this item

  Folium import error
Posted by: kashif_flavio - Dec-07-2020, 07:50 AM - Forum: General Coding Help - Replies (2)

Hello I am trying to use folium library but it is not working for me. I have tried with python 2.7/3.6/3.9. Below is my code.

[python]import folium..... More

Print this item

  Insertion sort algorithm courtesy of YouTuber Joe James
Posted by: Drone4four - Dec-07-2020, 03:13 AM - Forum: General Coding Help - Replies (3)

Hello Pythonistas!

I’m learning the insertion sort algorithm using Joe James’ terrific YouTube tutorial.
..... More

Print this item

  BeautifulSoup attribute problem
Posted by: zzy - Dec-06-2020, 10:56 PM - Forum: Web Scraping & Web Development - Replies (3)

In line 16 where it says "for tr in soup.find("tbody").children:", it keeps telling me that there is no such attribute. The code in the example video ..... More

Print this item

  how to modify a variable that is passed as parameter
Posted by: StefanL38 - Dec-06-2020, 09:43 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I have quite some experience with Delphi, Parallax SPIN and Arduino C++

NOw I started to use CircuitPython with a Teensy 4.0-microc..... More

Print this item

Photo tkinter issue
Posted by: mate - Dec-06-2020, 07:01 PM - Forum: GUI - Replies (4)

Hi guys,

I'm having a problem creating multiple buttons in tkinter using a for loop. I just can't figure out how to make each button unique. First ..... More

Print this item

  Factoring software
Posted by: Walkerh163 - Dec-06-2020, 06:19 PM - Forum: General Coding Help - Replies (2)

I am working on a program that can factor basic binomials. I am having trouble finding a way to verify if the result from 2 divided integers results i..... More

Print this item

  Class inheritance
Posted by: oclmedyb - Dec-06-2020, 04:57 PM - Forum: General Coding Help - Replies (3)

Hello,
I am just learning programming with Python as my first language.

I want to build a small application to manage electronic parts.
All parts sha..... More

Print this item

  bin, hex, dec??
Posted by: jackmartin - Dec-06-2020, 04:51 PM - Forum: General Coding Help - Replies (2)

Hi guys, I'm trying to read and proceed a hex-file.
When I open it in Notepad++ using an HEX-View-plugin, the content looks like this:
01 cc 81 00 0..... More

Print this item

  code to read files in folders and transfer the file name, type, date created to excel
Posted by: Divya577 - Dec-06-2020, 04:14 PM - Forum: General Coding Help - No Replies

Hi Forum,

I am trying to write a code to create a excel file with table based on number of files present in the folder.

the output should look l..... More

Print this item

  I need a code line to spam a keyboard key | Image detection bot
Posted by: Aizou - Dec-06-2020, 03:07 PM - Forum: General Coding Help - Replies (2)

Hello, first of all I`m a complete noob. I followed a tutorial and made this so far. This detects a small icon 40x40 in size on my screen and it works..... More

Print this item

  Building a food delivery program
Posted by: ElenaPapagia - Dec-06-2020, 01:26 PM - Forum: Homework - Replies (2)

Hello,

We have been assigned to do a project that I find quite hard, and I am a bit stuck.

There are 4 questions and I do not know how to do the..... More

Print this item

  [gtk] Image area and DND
Posted by: cyrille - Dec-06-2020, 01:17 PM - Forum: GUI - No Replies

Hi
I would like to define areas of various shapes within an image and interpret them in python in a GTK application

Ex: a man in an main side and..... More

Print this item

  ezdxf
Posted by: Mati_1 - Dec-06-2020, 11:48 AM - Forum: GUI - Replies (1)

Hi,
How can I create window (using tkinter) with .dxf file inside this window?

Something like:
" import ezdxf
from tkinter import *

aaa = "..... More

Print this item

  Newbie trying to pass text from different thread
Posted by: stephan1827 - Dec-06-2020, 08:16 AM - Forum: GUI - Replies (1)

Hi,
I am new to Python and try to write my first program. The main goal of the program is to read data from an OPC UA server and then execute a shell..... More

Print this item

  i need help for opencv apriltag detect
Posted by: bleulake - Dec-06-2020, 06:56 AM - Forum: General Coding Help - No Replies

I photographed april tag using raspberry pi 4 B+(8GB), arducam IMX298 MIPI 16MP Color Camera.
The shooting mode is width 1920 * height 1080.
I want ..... More

Print this item

  Issues Scraping Facebook using facebook_scraper
Posted by: DustinKlent - Dec-05-2020, 11:58 PM - Forum: General Coding Help - Replies (4)

I'm scraping facebook groups using Facebook_Scraper but I am experiencing issues with it.

Here's the code I have:

[python]
import operator
fro..... More

Print this item

  Button to add data to database and listbox
Posted by: SalsaBeanDip - Dec-05-2020, 10:19 PM - Forum: GUI - Replies (1)

Hello. I am creating a database that holds info on a person's name and phone number. The names are displayed in a listbox and when the user clicked a ..... More

Print this item

  Does Python have an ORM module?
Posted by: muzikman - Dec-05-2020, 03:33 PM - Forum: General Coding Help - Replies (6)

Greetings,

Does Python have an ORM package? I thought my days of typing long SQL queries was over.

Thanks,
Matt

Print this item

  index error
Posted by: surim - Dec-05-2020, 09:51 AM - Forum: General Coding Help - Replies (4)

I don't know why these codes makes error message.
Please help me


[python]def dynamic_sort©:
C.sort(key = lambda x: x[1])
n = len(C..... More

Print this item

  Printing simple calculator answer
Posted by: LCFC2020 - Dec-05-2020, 09:21 AM - Forum: Homework - Replies (2)

Don't laugh too hard, I'm literally week one of studying.
I have (I think) created a simple calculator to come up with the break even point of items ..... More

Print this item

  Get text from tooltip
Posted by: 1etlen - Dec-05-2020, 08:55 AM - Forum: GUI - Replies (2)

Hi all! I want to automatize a process. If I use an application on windows and I hover mouse over an icon appear a little yellow rectangle. (tooltip m..... More

Print this item

  I want to create small multiples grouped bar plot, and facing some aesthetics issuess
Posted by: dev_kaur - Dec-05-2020, 08:49 AM - Forum: General Coding Help - No Replies

I am working on a social media dataset that contains yes/no responses from Adults and High school respondents. I want to create small multiples groupe..... More

Print this item

  Experiencing a bug probably related to input() issue
Posted by: NewtoPython2020 - Dec-05-2020, 07:28 AM - Forum: General Coding Help - Replies (1)

Hi everybody. I am learning Python from the book "Automate boring stuff with python". There is the following code which should have ended up with "Acc..... More

Print this item

  Using the NPS API for Project
Posted by: belle2008 - Dec-05-2020, 03:09 AM - Forum: Homework - Replies (6)

Hi, I am working on a project for school where I need to use the National Parks Service API Key (specifically to return campgrounds). I want to write ..... More

Print this item

  Fraction Calculation with Limitations
Posted by: TINMAN01 - Dec-05-2020, 02:48 AM - Forum: General Coding Help - Replies (13)

I am a beginning Python coder and I am trying to write code to convert a FIF dimension (One Sixteen of an Inch Precision) - Feet, Inches, Fraction of ..... More

Print this item

Question Reset list if user regrets
Posted by: Gilush - Dec-05-2020, 12:14 AM - Forum: General Coding Help - Replies (1)

Hi again :)

I took some time to work on the input validation of my code before I convert it to Classes and I can't understand why the program ends ..... More

Print this item

  Need help with 3 errors when running script
Posted by: pythoncoder999 - Dec-04-2020, 09:02 PM - Forum: General Coding Help - Replies (3)

[b]So I got this bot script for reddit that I want to use for some automation for my business, it works up to the point of login to reddit user but fa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 30 minutes ago Winfried noisefloor General Codin...
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579024
  Tutorial Requ... 510888
  Web Scraping ... 442030
  Newbie with P... 386070
  New Users Int... 377485
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 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday
SledgeNE Yesterday

User Panel Messages

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