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,386
» Latest member: itx_sumeet
» Forum threads: 38,820
» Forum posts: 176,012

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, AOL, Facebook

Latest Threads
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 5
» Views: 9,864
Calling python from anoth...
Forum: General Coding Help
Last Post: bowlofred
6 hours ago
» Replies: 4
» Views: 112
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 129
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 70
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 129
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,286
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 94
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 751
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: beslanpuzl
Dec-21-2025, 11:52 AM
» Replies: 0
» Views: 159
a function to watch files
Forum: News and Discussions
Last Post: Gribouillis
Dec-21-2025, 07:43 AM
» Replies: 1
» Views: 138

 
  Format String
Posted by: NewPi - Oct-09-2022, 11:19 PM - Forum: General Coding Help - Replies (2)

Hey,

I try to print some formatted integers with padded 0.

But there is always a blank character in front of the print.

My code is:
[python]..... More

Print this item

  Deleting rows based on cell value in Excel
Posted by: azizrasul - Oct-09-2022, 10:07 PM - Forum: General Coding Help - Replies (11)

The following snippet of code deletes empty rows. How can I change the code such that a row is deleted if a value of 'x' appears in any row in column ..... More

Print this item

  Help adding a loop inside a loop
Posted by: Extra - Oct-09-2022, 09:36 PM - Forum: General Coding Help - Replies (31)

Hello,

I have my virtual assistant's code which is in a while true loop & runs fine, but I want to add a loop inside my virtual assistant's while loo..... More

Print this item

  Code Assistance needed in saving the file
Posted by: MithunT - Oct-09-2022, 03:50 PM - Forum: General Coding Help - No Replies

Hi Pythonians,

I am trying to retrieve data from MagicBricks,
The code runs fine, however when the file is saved, there is no data stored.

Re..... More

Print this item

  Python project - sport results
Posted by: Qn91 - Oct-09-2022, 02:26 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

I compete with my friend in various racket sports. These are: Tennis, Badmintor, Table Tennis, Squash.

I want to create an application t..... More

Print this item

  Adapting mnist model with personal dataset
Posted by: GJG - Oct-09-2022, 02:18 PM - Forum: Data Science - No Replies

Hi guys! wondering if it is possible to use the exact same training model used for mnist digit recognition model, but instead of 10 classifications u..... More

Print this item

  Pycharm and Windoze
Posted by: Pedroski55 - Oct-09-2022, 01:37 PM - Forum: General Coding Help - Replies (3)

I don't use Windows normally, but I can't buy a laptop here without Windows, so I have Windows 10.

I wanted to see what Pycharm is like, so I insta..... More

Print this item

  QVBoxLayout default (minimum) size
Posted by: malonn - Oct-09-2022, 11:10 AM - Forum: GUI - Replies (5)

I noticed that the minimum size of a layout is related to its contents margins. All layouts have contentsMargins(9, 9, 9, 9) by defa..... More

Print this item

  Error I don't understand
Posted by: finndude - Oct-09-2022, 11:02 AM - Forum: General Coding Help - Replies (2)

Hi,

Heres is the code below:

[python]

from tkinter import *
from PIL import ImageTk, Image
import cv2
import time


data = cv2.VideoCap..... More

Print this item

  Pyinstaller question
Posted by: DPaul - Oct-09-2022, 07:45 AM - Forum: Bar - Replies (3)

Hi,
Not a showstopping question, but very confusing.
I can make an executable like so : pyinstaller --onefile --clean --windowed MYprogram.py ==> ....... More

Print this item

  Why widget is resized
Posted by: malonn - Oct-08-2022, 09:06 PM - Forum: GUI - Replies (4)

I have a QGridLayout that, when it is complete, has 3 columns. I don't understand something though. Column 0 is a fixed-width frame (has [b]Q..... More

Print this item

  Why is IDLE not opening on a MacOS Montery 12.6 and using Python 3.10.7?
Posted by: Merlin385 - Oct-08-2022, 06:30 PM - Forum: General Coding Help - Replies (7)

Greetings,

I have MacOS Montery 12.6 (latest). I have downloaded Python 3.10.7 (latest) for mac. Everything installed as expected however when I cl..... More

Print this item

  How to use the LIKE clause in Python
Posted by: Columbo - Oct-08-2022, 04:13 PM - Forum: General Coding Help - Replies (9)

In my app I have a database of dinosaurs. The user types in the name of the dinosaur that they are looking for and it displays information about that..... More

Print this item

  [Solved]Return values from npyscreen
Posted by: Extra - Oct-08-2022, 01:49 PM - Forum: General Coding Help - Replies (2)

Hello,

I have this code:
[python]
import npyscreen

class TestApp(npyscreen.NPSApp):
def main(self):
frame = npyscreen.Form(name..... More

Print this item

  Extract only certain text which are needed
Posted by: Calli - Oct-08-2022, 09:02 AM - Forum: General Coding Help - Replies (26)

Say for instance I want to extract some words which are required how should I go about doing it with Regular expression or without Regular expression..... More

Print this item

  Paint-like tool on Python
Posted by: ajlettens - Oct-08-2022, 08:02 AM - Forum: GUI - No Replies

Hello there,

Does anybody know of a tool, library, or whatever on Python that allows you to create/access a user interface where the user could mod..... More

Print this item

  threads inside a function
Posted by: Skaperen - Oct-07-2022, 10:42 PM - Forum: News and Discussions - No Replies

i have a function that needs to send a buffered stream of bytes through a process and read the results back. the process could be blocked if its outp..... More

Print this item

  python code will not interpret
Posted by: Led_Zeppelin - Oct-07-2022, 08:32 PM - Forum: General Coding Help - Replies (1)

The following code generates an error when I try to interpret it with python.

[code]
svm_c = GridSearchCV(
cv=TimeSeriesSplit(gap=0, max_trai..... More

Print this item

  Appending data
Posted by: azizrasul - Oct-07-2022, 08:22 PM - Forum: General Coding Help - Replies (5)

How can I insert a header in a new MS Excel file and then append data, into the same MS Excel file after the last populated row, from another MS Excel..... More

Print this item

  Flask & Files
Posted by: Gilush - Oct-07-2022, 07:22 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all! :)

I'm trying to build a private update server for my app with Flask.
The app is based on a client-server relationship, when the client runs ..... More

Print this item

  Confused about python execution
Posted by: jpezz - Oct-07-2022, 04:01 PM - Forum: General Coding Help - Replies (4)

I copy my programs to a directory that is a ram disk (for speed). Note that execution speed is critical. Startup time is not.
[b]cp ~key/Programs.Sour..... More

Print this item

  Shapes in Video
Posted by: finndude - Oct-07-2022, 03:30 PM - Forum: General Coding Help - No Replies

Hi,

Just wanted to know if this is possible in Tkinter?

What I aim to do is have a user upload a video and for that to play in the window, then..... More

Print this item

  networkx package is not visible in singularity container image
Posted by: erdemath - Oct-07-2022, 02:33 PM - Forum: General Coding Help - Replies (11)

I have singularity-ce version 3.10.2 on my ubuntu 20.04. I created my own Python library in a self built singularity container. I installed networkx p..... More

Print this item

  websockets and pymongo exception
Posted by: sankar2000 - Oct-07-2022, 02:15 PM - Forum: General Coding Help - No Replies

Hello everyone.

I am building a websocket client app that receives all the data and inserts it into a MongoDB database. The program runs, but afte..... More

Print this item

  Build Lapalce symbolic expression from nominator/denominator arrays
Posted by: Pavel_47 - Oct-07-2022, 01:35 PM - Forum: Data Science - No Replies

Hello,
Different filter approximation functions from scipy (e.g. ""Butterworth") return nominator and denominator arrays.
Here is one of such funct..... More

Print this item

  add interrupt for next task
Posted by: kucingkembar - Oct-07-2022, 12:15 PM - Forum: General Coding Help - No Replies

hi, sorry for my bad English,
I try to make auto "convert" using FFmpeg,
this is the sample code:
[python]
import glob
import os
import time
de..... More

Print this item

  Problem with module time and leap seconds
Posted by: Pedroski55 - Oct-07-2022, 08:50 AM - Forum: General Coding Help - Replies (3)

I have a little programme to get rows from a big Excel file. Depending on the number of rows to fetch, the execution time varies a little, but shouldn..... More

Print this item

  QTableView: scroll to top cell of the screen
Posted by: random_nick - Oct-07-2022, 01:04 AM - Forum: GUI - Replies (2)

Hi everyone!

I have created a table in Qt using a QTableView widget. Cells are navigated using arrow keys. The current cell to which I have navigated..... More

Print this item

  Variable Types in a class
Posted by: nafshar - Oct-06-2022, 07:20 PM - Forum: General Coding Help - Replies (9)

When looking at a class, how do we know what the types of variables are? as an example:
[python]
class Node:
def __init__(self, value, next_nod..... More

Print this item

  Will JoinableQueue.join() always notice the counter reaching 0?
Posted by: RobinVeer - Oct-06-2022, 06:25 PM - Forum: General Coding Help - Replies (1)

If I have two processes communicating through a JoinableQueue, and I do the following:

process 1:

[python] queue.put(1) #unfished tasks = 1
..... More

Print this item

Photo Making Zip file of a file and Directory
Posted by: Nasir - Oct-06-2022, 02:02 PM - Forum: General Coding Help - Replies (2)

Hi

I am new to this forum and new user of python.

I have list of files and directories (contain files and subdirectories) in CSV file. The file..... More

Print this item

  Pulling username from Tuple
Posted by: pajd - Oct-06-2022, 01:41 PM - Forum: General Coding Help - Replies (21)

Hi,
Im connecting to a DB in AWS and want to check if a certain username is on the server

cursor.fecthall () copies the usernames and stores them ..... More

Print this item

  "SUMIF" type query in Python (help required)
Posted by: BlainEillimatta - Oct-06-2022, 09:08 AM - Forum: General Coding Help - No Replies

Hello!

Hello all, great to be here!

I'm new to Python and have hit a brick wall with the following problem.

I have two dataframes and I ..... More

Print this item

  Changing units with tens
Posted by: kazek17 - Oct-06-2022, 08:56 AM - Forum: Homework - Replies (1)

Hi,
i have to draw int number from (1000, 9999) and create new number where I have to change units with tens and hundreds with thousands from the fir..... More

Print this item

  How to expand and collapse individual parts of the code in Atom
Posted by: Lora - Oct-06-2022, 07:02 AM - Forum: General Coding Help - Replies (2)

Hello,
I would like to have a better overview in my long code. I know it from Stata that you can create individual sections that you can then expand..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Lottery generator (beginn... 4 hours ago Hullari Pedroski55 General Codin...
  Calling python from anoth... 6 hours ago eedjsa bowlofred General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
  a function to watch files 12-21, 07:43 Skaperen Gribouillis News and Disc...
  Spaces in string 12-19, 13:04 Mallard Mallard General Codin...
Most views
  The best Prog... 580333
  Tutorial Requ... 518841
  Web Scraping ... 442758
  Newbie with P... 386942
  New Users Int... 386050
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
itx_sumeet Today
zaathonyshulze4201 Today
Michaelhauct Yesterday
eedjsa Yesterday
byanfrances6176 Yesterday

User Panel Messages

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