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: Langlais
» Forum threads: 38,632
» Forum posts: 175,029

Full Statistics

Online Users
There are currently 549 online users.
» 0 Member(s) | 544 Guest(s)
Google, Mojeek, Baidu, Yandex

Latest Threads
PRANK YOUR FRIENDS WITH T...
Forum: Code sharing
Last Post: shailesen
4 hours ago
» Replies: 3
» Views: 3,964
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: MarkMan
6 hours ago
» Replies: 8
» Views: 318
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
7 hours ago
» Replies: 3
» Views: 102
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:07 AM
» Replies: 3
» Views: 151
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Yesterday, 03:37 AM
» Replies: 2
» Views: 127
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 231
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 996
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Jun-18-2025, 04:47 AM
» Replies: 1
» Views: 109
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Jun-18-2025, 02:19 AM
» Replies: 2
» Views: 143
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 148

 
  PyQt5 - issue of delay in overall performance & user interface while using serial COM
Posted by: thiru - Jun-18-2024, 08:34 AM - Forum: General Coding Help - No Replies

Whenever i changing the widget i am facing the issue of delay in overall performance and user interface while using serial COM


[python]cla..... More

Print this item

  help seeking for prediction of fixed effect model
Posted by: gotodockforevildragon - Jun-18-2024, 04:10 AM - Forum: General Coding Help - No Replies

now i get a formula by FE MODEL, but i wanna use it to predict the upper and lower bound of 'Y'
however, it seems that the i could not predict if bas..... More

Print this item

  video plays in the background only
Posted by: Gorashy - Jun-17-2024, 06:32 PM - Forum: GUI - Replies (3)

I am trying to play video, the video is playing on the background only and no window is shown. this the function that plays the video in a class.
[p..... More

Print this item

  (solved) Downnload images from a server and rename
Posted by: charled - Jun-17-2024, 02:43 PM - Forum: General Coding Help - Replies (13)

Hi everyone,

This is my first post here. I never used Python before.

I got 12 000 images to download from a server. Each image is named by an ID..... More

Print this item

  python coding to run file
Posted by: NSR115 - Jun-17-2024, 09:58 AM - Forum: General Coding Help - Replies (1)

Please help in the python command.

file location is below which has to be open and run command than save.
‪I:\new\ACR\FINAL AUTO ACER.xlsx

I wa..... More

Print this item

  How to to extract urls across multple webpages at once?
Posted by: ilovewacha - Jun-17-2024, 08:02 AM - Forum: General Coding Help - Replies (2)

I am trying to download videos from a site, which requires extracting 1 "download url" that resides on each "video url".

Example:

"video url": h..... More

Print this item

  checking username
Posted by: newbexx - Jun-17-2024, 05:10 AM - Forum: General Coding Help - Replies (3)

Hi, I'm reading Python Crashcourse (third edition), chapter 10 (about files).
The code is:

[python]
from pathlib import Path
import json

def..... More

Print this item

  interrupt (event)
Posted by: trix - Jun-16-2024, 03:28 PM - Forum: General Coding Help - No Replies

hello,

I have a stepper motor that I steer from left to the right.
1 cm = 100 pulses.
Now I want to send data with the UART to a scanner, every t..... More

Print this item

  positioning the laser
Posted by: flash77 - Jun-16-2024, 01:31 PM - Forum: Game Development - Replies (13)

Hello dear experts,

I have a last difficult problem to solve with my space invaders clone.
I need some help with this. It involves the boss's turr..... More

Print this item

  Printing the code line number
Posted by: arbiel - Jun-15-2024, 02:37 PM - Forum: General Coding Help - Replies (6)

Hi

I am looking for the code to return the line number of the call, so I could code

print(line_number())
Arbiel

Print this item

  Guidance for learning python
Posted by: rohithcoder123 - Jun-15-2024, 02:45 AM - Forum: News and Discussions - Replies (4)

Hey Guys, I am New here and i want to learn python coding.I basically know something about coding.But i dont know where to start learning python.I wis..... More

Print this item

  XML minidom "Pretty Print" Lost Data
Posted by: marksy95 - Jun-14-2024, 08:36 PM - Forum: General Coding Help - Replies (2)

I have code that successfully creates a desired XML file from a provided CSV file. However, I'm trying to format it to be easier to read. I want the l..... More


Attached Files

Thumbnail(s)
       

.csv   Test_Tags.CSV (Size: 1.18 KB / Downloads: 140)
.xml   Alarms_PRETTY.xml (Size: 5.27 KB / Downloads: 132)
.xml   Alarms_RAW.xml (Size: 7.25 KB / Downloads: 144)
Print this item

Sad Why isalnum() didn't output False when I use punctuations, spaces, etc in input?
Posted by: ardavegok - Jun-14-2024, 08:29 PM - Forum: Homework - Replies (2)

[python]def main():
plate = input("Plate: ")
if is_valid(plate):
print("Valid")
else:
print("Invalid")

#Much like ..... More


Attached Files

.py   problemset2.4.py (Size: 1.23 KB / Downloads: 155)
Print this item

  Memory leak due to pandas data frame
Posted by: AshwinY - Jun-14-2024, 04:48 PM - Forum: News and Discussions - No Replies

Hi,
I am facing memory leak issue while referring data frame

[python]import os
import sys
import time
import pandas as pd
sys.path.append("..... More

Print this item

  Create new column in dataframe
Posted by: Scott - Jun-14-2024, 07:04 AM - Forum: Data Science - Replies (10)

Hi everyone,

I have a dataframe I am trying to manipulate to create two new columns and drop 1 based on the sum function the does a conditional gro..... More

Print this item

  import vs inserting code
Posted by: Skaperen - Jun-14-2024, 01:18 AM - Forum: News and Discussions - Replies (10)

is there any circumstance in which inserting code, such as while editing, has a different result than doing an import of the same code when bot..... More

Print this item

  using dir_fd=None in some functions
Posted by: Skaperen - Jun-13-2024, 11:33 PM - Forum: General Coding Help - Replies (2)

in The Python Library Reference i see this:
[output]
You can check whether or not dir_fd is supported on your platform using os.supports_dir_fd.
If..... More

Print this item

  Can't figure out how to scrape grid
Posted by: templeowls - Jun-13-2024, 05:14 PM - Forum: Web Scraping & Web Development - Replies (3)

I have the below code to scrape this site (https://oig.hhs.gov/reports-and-publicat...lications/) and extract to a CSV.

It wor..... More

Print this item

  adding a calculated column
Posted by: charles986 - Jun-13-2024, 03:34 PM - Forum: General Coding Help - Replies (1)

I have noticed that when I have added a column to my data frame made up of 2 existing column divided by each other the NaN values in the data frame go..... More

Print this item

  Improving idle into something more like idlex?
Posted by: ushuy - Jun-13-2024, 01:24 PM - Forum: News and Discussions - Replies (1)

Why IDLE didn't integrate all the idlex features (line annotation, etc.) by default?

What could be the reason(s)?

Print this item

  adding a calculated column
Posted by: charles986 - Jun-13-2024, 11:21 AM - Forum: General Coding Help - Replies (1)

I have noticed that when I have added a column to my data frame made up of 2 existing column divided by each other the NaN values in the data frame go..... More

Print this item

  Circumvent the "access denied" page?
Posted by: Pedroski55 - Jun-13-2024, 10:53 AM - Forum: General Coding Help - Replies (7)

Is there a way to circumvent the access denied page?

I am trying to find importers of agricultural chemicals in various countries for my girlfriend..... More

Print this item

  How to type *_
Posted by: deanhystad - Jun-12-2024, 10:20 PM - Forum: General Coding Help - No Replies

I have two graphics widgets, say a check button and a combo box. When I change the values in these controls, I want to call a function. Even though ..... More

Print this item

  Python database Axidrawer
Posted by: Harterink - Jun-12-2024, 05:14 PM - Forum: General Coding Help - Replies (1)

Dear Python forum,

I am seeking help with a problem I have been struggling with for days. I have created a small website with the help of a teacher..... More

Print this item

  Replace values in Yaml file with value in dictionary
Posted by: PelleH - Jun-12-2024, 02:37 PM - Forum: General Coding Help - Replies (1)

Hi, I have a problem with one script. (Python3 ver 3.6.x)
I have a file "deployment_custom.txt" containing values to set in a Yaml file. One value pe..... More

Print this item

  TypeError: string indices must be integers, not 'str'
Posted by: LEMA - Jun-12-2024, 01:08 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm learning python and tkinter and trying to create a multilingual project.
Everything works fine except the variable <a> which must fetch a l..... More

Print this item

  List with equal repeatable data
Posted by: Ataman - Jun-12-2024, 10:41 AM - Forum: General Coding Help - Replies (6)

Hi pythonists! This is my first post there... I faced with a question when I needed to create a list with a number of empty lists. I found two approac..... More

Print this item

  Game restart problem
Posted by: senka_25 - Jun-12-2024, 09:48 AM - Forum: Game Development - Replies (4)

Hi guys, me and my friends are making a 2d platformer and are in desperate need of help. This is the link to our github repository, the updated code i..... More

Print this item

  Installing mailjet_rest for Python 3 while Python 2 is installed
Posted by: gw1500se - Jun-12-2024, 06:23 AM - Forum: General Coding Help - Replies (1)

I'm trying to convert my python script from version 2 to 3. I need mailjet_rest but I cannot figure out how to install it for version 3. When I run pi..... More

Print this item

  SOLVED: Install mailer module in Python 3.11.2?
Posted by: Calab - Jun-11-2024, 10:08 PM - Forum: General Coding Help - Replies (3)

Is it possible to install the mailer module in Python 3.11.2?

We have a script currently running in Python 3.7 that we want to move to 3.11. One of..... More

Print this item

Question No disconnect method for snowflake.connector ?
Posted by: Calab - Jun-11-2024, 09:42 PM - Forum: General Coding Help - No Replies

I am using the snowflake module to connect to a Snowflake database using snowflake.connect(). The connection seems to work as expected, but after I'm ..... More

Print this item

  Cant contain variable in regex
Posted by: robertkwild - Jun-11-2024, 06:19 PM - Forum: General Coding Help - Replies (3)

hi all,

im going to add to my “np” variable cant contain there username ie “un”

ive tried Regexp(‘form.un.data’, message=‘cant contain your name..... More

Print this item

  using split in my flask wtf form
Posted by: robertkwild - Jun-11-2024, 04:05 PM - Forum: General Coding Help - Replies (1)

hi all,

im trying to put a split command in my code like so

[python]
class PasswordForm(FlaskForm):
un = StringField('Username', [InputReq..... More

Print this item

  Programming neural networks with Python
Posted by: Kwauka - Jun-11-2024, 12:43 PM - Forum: Data Science - Replies (2)

I'm just trying my hand at neural networks, I'm a beginner! And I have a problem with a Python statement. The Statement looks like
targets[int(zeileL..... More

Print this item

  robocopy question
Posted by: DPaul - Jun-11-2024, 07:11 AM - Forum: Bar - Replies (4)

Looking for somebody with hands-on experience in robocopy.
I want to do the simplest of things, copy and paste, but the number of switches is confusi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PRANK YOUR FRIENDS WITH T... 4 hours ago Spyros_dev shailesen Code sharing
  How do select this table ... 6 hours ago MarkMan MarkMan Web Scraping ...
  [split] Simple webbot for... 7 hours ago AB073 Plyth Code Review
  Dynamic Module Import Err... Today, 00:07 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 ...
Most views
  The best Prog... 572267
  Tutorial Requ... 484757
  Web Scraping ... 436808
  Newbie with P... 379631
  Thread remain... 351217
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
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Langlais Today
ethan897 Today
DavidZergo Today
Dnfsdd8hfn2 Today
Zefin7 Today

User Panel Messages

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