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,437
» Latest member: AlexZolotov
» Forum threads: 38,550
» Forum posts: 174,689

Full Statistics

Online Users
There are currently 471 online users.
» 1 Member(s) | 467 Guest(s)
Yandex, Bing, Google, snl_9527

Latest Threads
How to understand object-...
Forum: General Coding Help
Last Post: snl_9527
51 minutes ago
» Replies: 0
» Views: 24
CSV reader with PyQt6
Forum: Code sharing
Last Post: Axel_Erfurt
3 hours ago
» Replies: 3
» Views: 112
[Beautiful Soup] How to d...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 1
» Views: 74
PyVisa Query Command fail...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 1
» Views: 103
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 1
» Views: 122
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: snippsat
8 hours ago
» Replies: 8
» Views: 366
what name to give to a ne...
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 09:39 PM
» Replies: 4
» Views: 145
Python script not working...
Forum: Web Scraping & Web Development
Last Post: texwilson47
Yesterday, 07:43 PM
» Replies: 0
» Views: 74
function arguments
Forum: General Coding Help
Last Post: Curbie
Yesterday, 05:23 PM
» Replies: 2
» Views: 217
Eight Queens Problem, err...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 04:22 PM
» Replies: 10
» Views: 688

 
  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 (3)

[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: 160)
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: 95)
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

  recurring events every specific amount of days
Posted by: jacksfrustration - Jun-26-2024, 01:58 PM - Forum: General Coding Help - Replies (6)

im making a reminder app not for profit and one of the features would ideally be recurring reminders. So i would have something like a checkbox and if..... More

Print this item

  comtypes: how to provinde a list of string to a COM method
Posted by: zalanthas - Jun-26-2024, 01:27 PM - Forum: General Coding Help - No Replies

Working on Microsoft Windows [Version 10.0.19045.4412], Python 3.8.10 (I need to compile my script for Windows 7 as well...), comtypes 1.4.4

I am i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to understand object-... 51 minutes ago snl_9527 snl_9527 General Codin...
  CSV reader with PyQt6 3 hours ago suburbanprojects Axel_Erfurt Code sharing
  [Beautiful Soup] How to d... 4 hours ago Winfried snippsat General Codin...
  PyVisa Query Command fail... 5 hours ago dazz deanhystad General Codin...
  Picamera2 commands betwee... 5 hours ago GigiG deanhystad General Codin...
  where should DEFAULT_CIPH... 8 hours ago Skaperen snippsat General Codin...
  what name to give to a ne... Yesterday, 21:39 Skaperen Skaperen News and Disc...
  Python script not working... Yesterday, 19:43 texwilson47 texwilson47 Web Scraping ...
  function arguments Yesterday, 17:23 Curbie Curbie General Codin...
  Eight Queens Problem, err... Yesterday, 16:22 snl_9527 Gribouillis General Codin...
  Automating the CyberGhost... Yesterday, 11:10 surendragupta surendragupta General Codin...
Most views
  The best Prog... 557428
  Tutorial Requ... 424430
  Web Scraping ... 422927
  Newbie with P... 350984
  Thread remain... 324890
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12036
buran 8165
snippsat 7324
deanhystad 6808
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
AlexZolotov Today
ekaintan1590 Today
juanadaniel096 Today
dar Today
preethi Today

User Panel Messages

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