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,535
» Latest member: Saragonzales
» Forum threads: 38,663
» Forum posts: 175,195

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Baidu, Google, Yandex

Latest Threads
HIRE DIGITAL FORENSIC EXP...
Forum: Bar
Last Post: Saragonzales
6 minutes ago
» Replies: 0
» Views: 1
Custom Sorting List of Di...
Forum: Homework
Last Post: deanhystad
26 minutes ago
» Replies: 2
» Views: 172
Unable to define function...
Forum: Homework
Last Post: deanhystad
36 minutes ago
» Replies: 1
» Views: 37
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
10 hours ago
» Replies: 6
» Views: 659
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
10 hours ago
» Replies: 3
» Views: 157
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Today, 01:32 AM
» Replies: 1
» Views: 109
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:23 AM
» Replies: 7
» Views: 472
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Jul-12-2025, 04:00 PM
» Replies: 3
» Views: 269
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Jul-12-2025, 02:41 AM
» Replies: 5
» Views: 252
[SOLVED] Why does regex f...
Forum: General Coding Help
Last Post: Pedroski55
Jul-11-2025, 11:52 PM
» Replies: 7
» Views: 4,012

 
  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

  prefix ID Number with 0,00 make 3 digit.
Posted by: mg24 - Oct-06-2022, 05:39 AM - Forum: General Coding Help - Replies (1)

Hi Team,

Need help for converting all ID no into minimum 3 digit. pythonic way.

Check the id no, if id is single digit, add two zeros infront of..... More

Print this item

  how to convert tuple value into string
Posted by: mg24 - Oct-05-2022, 11:58 PM - Forum: General Coding Help - Replies (2)

Hi Team,

how to convert tuple value into a string.
after running sql query I get output in tuple.

want to convert it into string.

[python]sq..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  HIRE DIGITAL FORENSIC EXP... 6 minutes ago Saragonzales Saragonzales Bar
  Custom Sorting List of Di... 26 minutes ago aryasinner deanhystad Homework
  Unable to define function... 36 minutes ago gmonroe deanhystad Homework
  RemoTe server operation w... 10 hours ago mario17 snippsat General Codin...
  Qt Event Filtering 10 hours ago deanhystad deanhystad GUI
  processing nested json da... Today, 01:32 Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt Yesterday, 11:23 vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... 07-12, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... 07-12, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
  Coding Standards 07-11, 13:12 kency snippsat General Codin...
Most views
  The best Prog... 572687
  Tutorial Requ... 485717
  Web Scraping ... 437144
  Newbie with P... 380079
  Thread remain... 351375
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 8174
snippsat 7352
deanhystad 6857
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Saragonzales Today
homerpalmer Today
aihancaiji31 Today
gmonroe Today
Tharindu Today

User Panel Messages

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