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,579
» Latest member: zmasonfrnceso5662
» Forum threads: 38,669
» Forum posts: 175,234

Full Statistics

Online Users
There are currently 234 online users.
» 1 Member(s) | 226 Guest(s)
Baidu, Bing, Google, Yandex, Mojeek, deanhystad

Latest Threads
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: Jmathew1
10 hours ago
» Replies: 4
» Views: 6,440
veri kazıma
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 10:30 PM
» Replies: 8
» Views: 198
Post Body (for "Forum Usa...
Forum: Board
Last Post: hihi
Yesterday, 06:17 AM
» Replies: 0
» Views: 54
None collapsing Tuple at ...
Forum: Code Review
Last Post: hihi
Yesterday, 05:21 AM
» Replies: 0
» Views: 86
Label & OptionMenu widget...
Forum: GUI
Last Post: slate
Yesterday, 02:21 AM
» Replies: 2
» Views: 148
Code stoped working
Forum: News and Discussions
Last Post: DeaD_EyE
Jul-19-2025, 10:55 AM
» Replies: 2
» Views: 157
ASCII-Codec in Python3 [S...
Forum: General Coding Help
Last Post: Gribouillis
Jul-19-2025, 08:53 AM
» Replies: 6
» Views: 10,532
How scan all ips from mai...
Forum: Networking
Last Post: MaahirThomas
Jul-18-2025, 07:09 PM
» Replies: 2
» Views: 419
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: deanhystad
Jul-18-2025, 03:10 PM
» Replies: 7
» Views: 464
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
Jul-17-2025, 11:12 PM
» Replies: 8
» Views: 10,770

 
  pass a variable between tkinter and toplevel windows
Posted by: janeik - Oct-02-2023, 02:03 AM - Forum: GUI - Replies (9)

hello.
I have 2 windows:
a)window = tkinter.Tk(), a mapview and an Entry to write a filepath

b)top=Toplevel() and a label to view an image

I n..... More


Attached Files

Thumbnail(s)
   
Print this item

  nested function return
Posted by: MHGhonaim - Oct-01-2023, 11:31 PM - Forum: General Coding Help - Replies (2)

in which cases is it need to add () to inner functions return and why is it different in the following 2 examples
[Image: 0m41mjL]
..... More


Attached Files

Thumbnail(s)
       
Print this item

  What to do to stop all these threads?
Posted by: Valjean - Oct-01-2023, 10:38 PM - Forum: General Coding Help - Replies (3)

Hi guys, sorry for my noobness again:

I noticed when I was closing my app the task icon on visual code studio was still running. So my app was not ..... More

Print this item

  Weird characters scraped
Posted by: samuelbachorik - Oct-01-2023, 11:20 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi i am trying to scrape webpage but in names of products i get weird characters, i will show what is in webpage sourcode and what beautiful soup scra..... More

Print this item

  WHILE LOOP NOT RETURNING USER INPUT AFTER ZerroDivisionError! HELP!
Posted by: ayodele_martins1 - Sep-30-2023, 09:02 PM - Forum: General Coding Help - Replies (7)

[python]#WHILE LOOP NOT RETURNING USER INPUT AFTER ZerroDivisionError! HELP!
# Using the Modulus operator to find the reminder of any two operands
w..... More

Print this item

  It's saying my global variable is a local variable
Posted by: Radical - Sep-30-2023, 05:13 PM - Forum: General Coding Help - Replies (5)

[b]EDIT: Okay I found this video that explains the issue well: https://www.youtube.com/watch?v=qsf_pM9Ge_g
but this issue does not exist in C++. So wh..... More

Print this item

  dict table
Posted by: kucingkembar - Sep-30-2023, 10:48 AM - Forum: General Coding Help - Replies (4)

sorry for my bad English,
i have this problem, I have this data from JA3
[error]
Id : AA12
Group : Firearm - Shotgun
object_class : Shotgun
R..... More

Print this item

  Web scrap --Need help
Posted by: Lizardpython - Sep-30-2023, 09:21 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi.
I got a weblink which have below:
I use a selenium to webscrap , intending to click on the downloadALLChart, but i not sure how to do it
Thanks..... More

Print this item

  Downloaded file corrupted
Posted by: emont - Sep-30-2023, 02:20 AM - Forum: General Coding Help - Replies (5)

Hello,

I am trying to download a file from a web page, but when I try to open it, it shows an error    


This is my code:
[python..... More

Print this item

  string theory
Posted by: monkeyPlus - Sep-30-2023, 01:03 AM - Forum: Code sharing - Replies (1)

Anyone interessed

https://andrealbergaria.github.io/

thks

andre

Print this item

  Alicat Flow Meter data acquisition
Posted by: marenr - Sep-29-2023, 10:59 PM - Forum: General Coding Help - No Replies

Hi everybody.

I have this code that I use to graph and acquire temperature data from three thermocouples using nidaqmx:

[python]import nidaqmx
..... More

Print this item

  Python in Excel
Posted by: Larz60+ - Sep-29-2023, 07:53 PM - Forum: News and Discussions - Replies (4)

Don't know how I missed this one. The anouncement is a month old.
I found out from Guido's X (twitter) post (he helped out...)
see ..... More

Print this item

  Starting over with Python
Posted by: Mark17 - Sep-29-2023, 02:19 PM - Forum: General Coding Help - Replies (1)

Hi all! I'm giving Python another stab after about 18 months. I'm not a programmer so I really can feel the rust being chiseled off as I start to le..... More

Print this item

  Two issues in table created by PySimpleGUI
Posted by: ranjansanyal2007 - Sep-28-2023, 06:39 PM - Forum: GUI - Replies (10)

I have created the code to search, modify tables. I have created two windows, the second has two issues in the table.
1. The click event is not worki..... More


Attached Files

.py   dbcongui.py (Size: 9.59 KB / Downloads: 188)
Print this item

  Python & X10
Posted by: xytsrm - Sep-28-2023, 06:20 PM - Forum: General Coding Help - No Replies

I'm interesting in integrating python with an X10 installation package; I've found "python-x10" dated 2012 on Github that does install, but there no d..... More

Print this item

  Is there a way to call and focus any popup window outside of the main window app?
Posted by: Valjean - Sep-28-2023, 03:46 PM - Forum: General Coding Help - Replies (6)

Hi guys, I am trying to open a popup window when the user types something.

I read somewhere that Windows only allows you to focus a popup window i..... More

Print this item

  Python deployment
Posted by: David98 - Sep-28-2023, 12:56 PM - Forum: General Coding Help - Replies (3)

Hi guys,

I would like to ask for the process to deploy the Python script to the client's devices. I have a GUI application and a script, I want to ..... More

Print this item

  Basic Python Tutorial (Playlist)
Posted by: coffeejunkie34 - Sep-28-2023, 12:18 PM - Forum: Tutorial Requests and Submissions - No Replies

Hey,

while trying to improve my english skill i created this little tutorial about python basics :)

https://www.youtube.com/watch?v=owkewcihBDA&..... More

Print this item

  [PROBLEM] Removing IDLE from context menu
Posted by: WebSpider - Sep-28-2023, 09:32 AM - Forum: General Coding Help - Replies (1)

Hi to all. I have a problem. I have a MacBook (M1) with macOS Monterey (12.5.1).

I installed Python 3.11.5 yesterday. Then I removed all with a th..... More

Print this item

  Bulk loading of data using python
Posted by: shivamsvmsri - Sep-28-2023, 07:49 AM - Forum: General Coding Help - Replies (2)

I want to bulk load the data into snowflake warehouse using pandas. Please find whole requirement below:

1. I have source data in snowflake table. ..... More

Print this item

  How can prepare the modules when compiling python3.11?
Posted by: luofeiyu - Sep-27-2023, 11:18 PM - Forum: General Coding Help - Replies (1)

Compile python-3.11:

curl -O https://www.python.org/ftp/python/3.11.0...rc2.tar.xz
tar -xf Python-3.11.0rc2.tar.xz
cd Python-3.11.0rc2..... More

Print this item

Question PDF Manipulation
Posted by: 9156088686 - Sep-27-2023, 09:27 PM - Forum: General Coding Help - Replies (5)

Hi guys,

My goal is pretty simple: to split a PDF page 2/3 the way down and move the bottom third on top.

I've been trying multiple ways to figu..... More

Print this item

  How to insert Dashed Lines in between Rows of a tabulate output
Posted by: Mudassir1987 - Sep-27-2023, 10:06 AM - Forum: General Coding Help - No Replies

Hi Im trying to format my report in python as per SAS proc report output. the expected output is shown below
Any idea how can i insert 1.dashed lines..... More


Attached Files

Thumbnail(s)
   

.csv   RV1.csv (Size: 401 bytes / Downloads: 196)
Print this item

  __dict__ in math library
Posted by: akbarza - Sep-27-2023, 06:49 AM - Forum: General Coding Help - Replies (6)

hi
i saw that there is no "__dict__" in math library. namely:

import math
"__dict__ " in dir(math)
the result will be False. b..... More

Print this item

  problem in output of a function
Posted by: akbarza - Sep-27-2023, 06:34 AM - Forum: General Coding Help - Replies (9)

hi
the below code is in https://realpython.com/python-eval-function/ :
[python]def eval_expr..... More

Print this item

  python dictionary is that a bug ?
Posted by: rmangla - Sep-27-2023, 04:22 AM - Forum: General Coding Help - Replies (2)

"PLEASE IGNORE THIS POST....I MADE A MISTAKE I CAUGHT MY OWN ERROR"

I created below dictionary and then printed values for all the keys

d={0:0,1:1,2..... More

Print this item

  logging values from constantly updating CLI app
Posted by: imvirgo - Sep-27-2023, 04:10 AM - Forum: General Coding Help - Replies (1)

I use rclone to transfer large files to my cloud bucket. The upload command takes a flag that shows a constantly updating transfer speed readout in th..... More

Print this item

  HTML Decoder pandas dataframe column
Posted by: mbrown009 - Sep-27-2023, 12:02 AM - Forum: Data Science - Replies (3)

I am getting html that I want to decode. If I do it with an example it works but not with my pandas dataframe. Any suggestions?

[python] #!/usr/bi..... More

Print this item

  Cleaning my code to make it more efficient
Posted by: BSDevo - Sep-26-2023, 10:46 AM - Forum: General Coding Help - Replies (14)

Hi, as i`m new to python my code is not clean and not efficient and im looking towards faster performance while im loading my code.
Im using streamli..... More

Print this item

  Going through HTML table with selenium
Posted by: emont - Sep-26-2023, 12:39 AM - Forum: General Coding Help - Replies (3)

Hello Team,

I am trying to iterate through a webpage that contains a table, I am trying to access the first column of that table and then click on ..... More


Attached Files

Thumbnail(s)
   
Print this item

  how include a python code in notpad++ plugin
Posted by: akbarza - Sep-25-2023, 11:14 AM - Forum: General Coding Help - Replies (2)

hi
I wanted to draw a line in notpad++, so I searched Google for it.
in address: ..... More

Print this item

Question Answer for newbie, Sqlite3
Posted by: Froger - Sep-25-2023, 10:04 AM - Forum: Homework - Replies (2)

I made a discord bot on a task using plugins Sqlite3,Json,Disnake. But I got such an error as no such column: Speed. I searched for the problem on the..... More

Print this item

  Scapy Basics
Posted by: Shivi - Sep-25-2023, 07:37 AM - Forum: Networking - No Replies

Hello
I am new to Scapy and I am trying to play around with CAN and CANSocket in Scapy.
I want to extend CAN to CANXL. I do not know if this is poss..... More

Print this item

  Button to stop while loop from another script
Posted by: Absolutewind - Sep-24-2023, 07:55 PM - Forum: General Coding Help - Replies (5)

Hi, i have 2 script where one is the Gui i.e script A and another is an api call functions i.e script B.

As i import script B into script A and per..... More

Print this item

Lightbulb Python University Laboratory - Help
Posted by: camibaldessini - Sep-24-2023, 06:19 PM - Forum: Homework - Replies (2)

Hello, guys, how are you? My name is Cami and and I'm new to the coding community. I'm taking a course at the university and I have some problems with..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Can I develop a live vide... 10 hours ago mtrkhan Jmathew1 Web Scraping ...
  veri kazıma Yesterday, 22:30 fehmikonkur Pedroski55 Web Scraping ...
  Post Body (for "Forum Usa... Yesterday, 06:17 hihi hihi Board
  None collapsing Tuple at ... Yesterday, 05:21 hihi hihi Code Review
  [Tkinter] Label & OptionM... Yesterday, 02:21 slate slate GUI
  Code stoped working 07-19, 10:55 OldMan57 DeaD_EyE News and Disc...
  ASCII-Codec in Python3 [S... 07-19, 08:53 AlphaInc Gribouillis General Codin...
  How scan all ips from mai... 07-18, 19:09 ramin_malek MaahirThomas Networking
  gpiozero buttons stop wor... 07-18, 15:10 duckredbeard deanhystad General Codin...
  [PyGame] Made my first Py... 07-17, 23:12 andrerocha1998 Ricky1178 Game Developm...
  How to package code for d... 07-17, 11:36 mayukun snippsat General Codin...
Most views
  The best Prog... 572785
  Tutorial Requ... 485868
  Web Scraping ... 437245
  Newbie with P... 380265
  Thread remain... 351440
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8177
snippsat 7353
deanhystad 6862
metulburr 5152
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zmasonfrnceso5662 Today
Stephenanern Today
Jmathew1 Today
museofgreed Today
antonymonk936 Yesterday

User Panel Messages

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