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,578
» Latest member: ethan897
» Forum threads: 38,632
» Forum posts: 175,028

Full Statistics

Online Users
There are currently 467 online users.
» 1 Member(s) | 458 Guest(s)
Bing, Google, Baidu, Facebook Dev, Yandex, ethan897

Latest Threads
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: MarkMan
59 minutes ago
» Replies: 8
» Views: 302
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
2 hours ago
» Replies: 3
» Views: 96
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 3
» Views: 143
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 03:37 AM
» Replies: 2
» Views: 123
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 223
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 993
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Jun-18-2025, 04:47 AM
» Replies: 1
» Views: 104
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Jun-18-2025, 02:19 AM
» Replies: 2
» Views: 133
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 144
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Jun-17-2025, 02:20 AM
» Replies: 1
» Views: 119

 
  Tkinter weather app
Posted by: menator01 - Jul-02-2024, 05:17 PM - Forum: Code sharing - No Replies

Redone the tkinter weather app
This one should work in whatever part of the world your in. (If you have access google) The first was just in US.
[py..... More

Print this item

  keeping logs for every success fail attempt
Posted by: robertkwild - Jul-02-2024, 04:12 PM - Forum: General Coding Help - Replies (22)

hi all,

made a flask-wtf password website but now i want to keep logs on everytime someone changes there password either success or a failed attemp..... More

Print this item

  Merge Python code with Micro Python code?
Posted by: adzy - Jul-02-2024, 09:34 AM - Forum: General Coding Help - Replies (2)

Hi,
I need to merge my existing Python code with an existing Micro Python program. Other than performance (?) are there any restrictions or adjustmen..... More

Print this item

  Beta6 of my password flask-wtf web form
Posted by: robertkwild - Jul-02-2024, 08:18 AM - Forum: General Coding Help - Replies (3)

hi all

so im pretty much done with making my flask-wtf password web form, may add other bits to it but what you think

[python]
from flask impor..... More

Print this item

  FastAPI returns null
Posted by: phpman88 - Jul-02-2024, 04:43 AM - Forum: Web Scraping & Web Development - Replies (2)

Hey guys new to python and to this forum. Right now I'm working on a project where I'm using selenium to grab some data and then have FastAPI serve th..... More

Print this item

  Trouble with Average Calculation Despite Error Handling
Posted by: autodecay - Jul-02-2024, 03:17 AM - Forum: General Coding Help - Replies (4)

[python]def compute_average(data):
try:
total_sum = sum(data)
avg = total_sum / len(data)
return avg
except ZeroD..... More

Print this item

  Installing Python packages as OS-level packages
Posted by: andi0661 - Jul-01-2024, 04:39 PM - Forum: News and Discussions - Replies (3)

Hi. I am maintaining several Python packages and for that purpose I live in a world of Python virtual environments with "pip" as an installer.

Howe..... More

Print this item

  TypeError: __init__() missing 1 required positional argument: 'instructions'
Posted by: SecRec01 - Jul-01-2024, 01:32 PM - Forum: Web Scraping & Web Development - Replies (5)

So every time I try to POST, i get an error.

[error]Traceback (most recent call last):
File "C:\Users\Chris\.virtualenvs\Backend-NKSSbLU1\Lib\site-..... More

Print this item

  PyGUI installation issue
Posted by: Wallflower - Jul-01-2024, 08:12 AM - Forum: General Coding Help - Replies (1)

I get is this error:

$ python blobedit.py
Traceback (most recent call last):
File "blobedit.py", line 1, in <module>
from GUI import Window, Lab..... More

Print this item

  Website Scraping Problems
Posted by: JamesWilson - Jul-01-2024, 07:40 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello everyone. I'm having trouble with web scraping and can't determine why it's failing. I'm using XPath and BeautifulSoup to extract the next URL, ..... More

Print this item

  Loop over dataframe to fill in missing rows
Posted by: Scott - Jul-01-2024, 02:55 AM - Forum: Data Science - Replies (9)

Hi everyone,

I am working on cleaning a data set which has amounts entered for each day. When there is a missing date for the site ref there is jus..... More

Print this item

  Sending email using own smtp server
Posted by: robertkwild - Jun-30-2024, 07:04 PM - Forum: General Coding Help - Replies (11)

hi all,

ive made my own smtp server so in my python script i can use my smtp server to send emails

is there a good how to to follow please

th..... More

Print this item

  Q on asyncio
Posted by: ebolisa - Jun-30-2024, 10:02 AM - Forum: General Coding Help - Replies (4)

Hi,

On line 12 below, I get a warning msg from pycharm stating "Coroutine 'create_task' is not awaited".
If I do modify it with [pyt..... More

Print this item

  Coding help required in Python using VS Code
Posted by: KakashiSenpai - Jun-30-2024, 09:22 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

I am learning Python and need some help please on how to write the code for my program to do the following:

Customer would like to add ..... More

Print this item

  two iterations in parallel
Posted by: Skaperen - Jun-30-2024, 12:39 AM - Forum: General Coding Help - No Replies

i have a massively huge set of hundreds of millions of numbers in a file. memory is not large enough to hold all these numbers in one list. so to ru..... More

Print this item

  writing list to csv file problem
Posted by: jacksfrustration - Jun-29-2024, 11:17 PM - Forum: General Coding Help - Replies (5)

im making a task reminder that will send emails and sms reminding of tasks and events. my problem that im stuck with is with saving the data. i chose ..... More

Print this item

  Combine documentation and testing with doctest
Posted by: maina - Jun-29-2024, 08:19 PM - Forum: Code sharing - No Replies

Testing is how we verify that a piece of code works as intended.

Doctest allow us to document and test a code unit at once.

A docstring or [b..... More

Print this item

  Difference between method and attribute holding a function
Posted by: ulrich - Jun-29-2024, 07:57 PM - Forum: General Coding Help - Replies (2)

Hi,
a class can have methods, and it can have attributes, which can hold a function. Both is well known, of course.
My question: Is there any differ..... More

Print this item

  API Problems!!!
Posted by: Dronemaster278 - Jun-29-2024, 01:16 AM - Forum: General Coding Help - Replies (3)

Hi! I am relatively nw to python, but i know a decent bit of C++ and HTML. However, this is my first time using API protocols. I am attempting to run ..... More


Attached Files

.py   nonkyc.py (Size: 32.99 KB / Downloads: 192)
Print this item

  scipt with apparently no errors shown, still not running
Posted by: INS - Jun-28-2024, 08:05 PM - Forum: GUI - Replies (4)

under is the actual script, I'm still on the learning side. I have done others before this particular one and they all executed and popped up the GUI...... More

Print this item

  API Problems!!!
Posted by: Dronemaster278 - Jun-28-2024, 04:09 PM - Forum: General Coding Help - No Replies

Hi! I am relatively nw to python, but i know a decent bit of C++ and HTML. However, this is my first time using API protocols. I am attempting to run ..... More


Attached Files

.py   nonkyc.py (Size: 32.99 KB / Downloads: 116)
Print this item

  Display data from a chat
Posted by: Arcanta - Jun-28-2024, 03:29 PM - Forum: GUI - Replies (2)

Good morning,

I'm starting this topic to get python tips for displaying textual data.

I retrieved chat-type data from a database and I would like to..... More

Print this item

  Count Button Press
Posted by: chizzy101010 - Jun-28-2024, 03:19 PM - Forum: General Coding Help - Replies (3)

Hi , hope all is good. I'm trying to put together a project to learn python and raspberry pi and have looked at counting how many times a button is pr..... More

Print this item

  What is going on?
Posted by: zimmytheflygirl - Jun-28-2024, 02:03 PM - Forum: Homework - Replies (7)

What it needs to do....
[quote]2. InputExpenseNames
First create an empty list for expense items. Next, enter a loop that iterates for as long as the ..... More

Print this item

  Connecting GUI code with working logic code
Posted by: darter1010 - Jun-27-2024, 10:38 PM - Forum: GUI - Replies (10)

I have a working non-GUI python script to do some scraping and showing me some financial data and it is working and I trust it so I would like to add..... More

Print this item

  2.7.5 Assistance
Posted by: patrickperea - Jun-27-2024, 09:25 PM - Forum: General Coding Help - Replies (4)

Hello I am in need of some assistance, to quickly sum it up I obtain an incoming payment file that is 33 characters long on each line and I need it to..... More

Print this item

  Announcing the configoose module!
Posted by: Gribouillis - Jun-27-2024, 08:01 PM - Forum: News and Discussions - Replies (4)

I uploaded a new module in Github, it is named « configoose ». It is not yet in Pypi and it is at..... More

Print this item

  Seeking some script design advice... involves asyncio, threads, multiprocessing
Posted by: sawtooth500 - Jun-27-2024, 05:56 PM - Forum: General Coding Help - Replies (1)

I need some high level advice on how to code this, thinking asyncio, threading, and multiprocessing...

I'm implementing a stock algo to trade in re..... More

Print this item

  How to change a tkinter label with scale and how to save that new value for later?
Posted by: bkeith - Jun-27-2024, 05:12 PM - Forum: General Coding Help - Replies (3)

I've been building and ROV for a while now and made a pretty sweet GUI first with Arduino IDE, then with MATLAB, everything worked great. I upgraded t..... More

Print this item

  Show powershell errors in flask-wtf web form
Posted by: robertkwild - Jun-27-2024, 04:53 PM - Forum: General Coding Help - Replies (14)

hi all,

so im really getting along with my flask-wtf form and im nearing its completion

now i want to show if powershell errors, i want it to show o..... More

Print this item

  How to delete tkinter table items?
Posted by: theCarl - Jun-27-2024, 01:58 PM - Forum: GUI - Replies (1)

I have a window that is live updating with rows, but it only adds rows. I'd like to delete the old rows each refresh so that it appears as a live tab..... More

Print this item

  Day 1 - as newbie as you can get
Posted by: boss_hogg - Jun-27-2024, 12:18 PM - Forum: General Coding Help - Replies (2)

I tripped across ChatGPT being able to create python code for me, and it looks very useful. Im trying to create some patterns, using python to write ..... More

Print this item

  Cant get powershell script to run with subprocess
Posted by: robertkwild - Jun-27-2024, 10:17 AM - Forum: General Coding Help - Replies (2)

hi all,

i can run up a powershell command with subprocess fine but now im trying to get subprocess working with my powershell script but its not pa..... More

Print this item

  Python ssl module
Posted by: Pedroski55 - Jun-27-2024, 08:53 AM - Forum: General Coding Help - Replies (4)

If I open Idle, I can import the module ssl no problem

But

Quote:pip list

in bash shows no module ssl

Why does ssl not show up i..... More

Print this item

  docx file to pandas dataframe/excel
Posted by: iitip92 - Jun-26-2024, 07:40 PM - Forum: General Coding Help - Replies (1)

Hi everyone,
following the docx documentation and dropbox API documentation I wanted to download doc and docx files from a dropbox directory. I used ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How do select this table ... 59 minutes ago MarkMan MarkMan Web Scraping ...
  [split] Simple webbot for... 2 hours ago AB073 Plyth Code Review
  Dynamic Module Import Err... 7 hours ago DaddyMAN Pedroski55 General Codin...
  What Are the Most Overloo... Yesterday, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question 06-18, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... 06-18, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
  Convert any Python expres... 06-16, 14:06 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572262
  Tutorial Requ... 484754
  Web Scraping ... 436804
  Newbie with P... 379626
  Thread remain... 351216
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7337
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
ethan897 Today
DavidZergo Today
Dnfsdd8hfn2 Today
Zefin7 Today
Donaldabani Yesterday

User Panel Messages

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