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,237
» Latest member: alexmaarley8855
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

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

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
11 hours ago
» Replies: 3
» Views: 82
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 94
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 69
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 101
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,049
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,364
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,554
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 184
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,195
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,442

 
  [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

  502 Issue
Posted by: itgavin - Oct-05-2022, 10:59 PM - Forum: Web Scraping & Web Development - Replies (1)

Our company internal portal is running Python 3+Nginx+flask+Gunicorn on Ubuntu server. This portal was written by previous staff and I have just joine..... More

Print this item

  QActions and Unicode glyphs
Posted by: malonn - Oct-05-2022, 12:38 PM - Forum: GUI - Replies (9)

I'm trying to add Unicode glyphs to a QAction. But, my attempts thus far are crashing my desktop (actually logging me out). How do I use Unicode cha..... More

Print this item

  QGridLayout and stretching widgets when maximized
Posted by: malonn - Oct-05-2022, 08:23 AM - Forum: GUI - Replies (1)

I have a QGridLayout set with 2 rows and 2 columns. Column 0 spans 2 rows, column 1 has a QTableView in row 0 and a image (QLabel) in row 1. When I ..... More

Print this item

  Tips on Converting BASIC to Pygame
Posted by: robin73 - Oct-05-2022, 08:03 AM - Forum: Game Development - Replies (4)

I posted on Stack Overflow about wanting some feedback/advice on converting old ZX Basic games to Pygame. I'd like to get some input on it, but so far..... More

Print this item

  Add\insert header row existing csv files
Posted by: mg24 - Oct-05-2022, 06:11 AM - Forum: General Coding Help - No Replies

Hi Team,

I am opening existing csv files, and Want to insert records at first row.

if I use inplace=True , file get overwrites
if I use inplac..... More

Print this item

  Moving data from one Excel to another and finding maximum profit
Posted by: azizrasul - Oct-04-2022, 09:48 PM - Forum: General Coding Help - Replies (7)

I have the following code: -

[python]import pandas as pd

out = pd.read_excel(io = "E:/Folder/Company Financials.xlsx", sheet_name = "Sales", use..... More

Print this item

  What do you do outside of work?
Posted by: Jan_97 - Oct-04-2022, 07:13 PM - Forum: Bar - Replies (4)

Outside of work and all things related to tech. What do you enjoy doing?


Me personally I love exercising and hiking. It helps me relax after a lo..... More

Print this item

  Shapes over video in tkinter
Posted by: finndude - Oct-04-2022, 05:49 PM - Forum: General Coding Help - Replies (1)

Hi all,

I wanted to know if there is a way in Tkinter to simply play a video and with a button press, a circle appears on top of the video?

Print this item

  Tetris inteligence
Posted by: DanTDRG - Oct-04-2022, 05:24 PM - Forum: Game Development - Replies (5)

Hello, could someone help me write tetris intelligence?
I understand that there is a lot of it on the internet but unfortunately I can't edit it exce..... More

Print this item

  How to break out of a for loop on button press?
Posted by: philipbergwerf - Oct-04-2022, 03:59 PM - Forum: General Coding Help - Replies (6)

[python]from tkinter import *

# root
root = Tk()
root.title('SeqTank')
scrwidth = root.winfo_screenwidth()
scrheight = root.winfo_screenheight(..... More

Print this item

  PyMuPDF
Posted by: rob101 - Oct-04-2022, 01:11 PM - Forum: General Coding Help - No Replies

Has anyone had any experience (good or bad) using PyMuPDF?

I've not tried it yet, but I can foresee a situation whereby it would be ideal to be a..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 11 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578682
  Tutorial Requ... 509111
  Web Scraping ... 441840
  Newbie with P... 385791
  New Users Int... 375049
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
alexmaarley8855 Yesterday
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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