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,494
» Latest member: kjhlcd4p6g
» Forum threads: 38,580
» Forum posts: 174,819

Full Statistics

Online Users
There are currently 715 online users.
» 0 Member(s) | 709 Guest(s)
Bing, Yandex, Google, Mojeek, Apple

Latest Threads
Secure and Reliable Colou...
Forum: News and Discussions
Last Post: ishani007
13 minutes ago
» Replies: 0
» Views: 18
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
Yesterday, 07:49 AM
» Replies: 8
» Views: 21,184
Wish to write a code for ...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 06:08 AM
» Replies: 3
» Views: 577
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
May-20-2025, 12:26 PM
» Replies: 13
» Views: 28,816
problems with netcdf if I...
Forum: General Coding Help
Last Post: vytlacfoto
May-20-2025, 05:31 AM
» Replies: 17
» Views: 1,521
How to attach images to a...
Forum: Board
Last Post: sethmike9
May-19-2025, 04:08 AM
» Replies: 6
» Views: 8,939
How To Attach data Files
Forum: Board
Last Post: sethmike9
May-19-2025, 04:05 AM
» Replies: 3
» Views: 4,188
Text frame
Forum: Homework
Last Post: Pedroski55
May-18-2025, 07:39 PM
» Replies: 2
» Views: 434
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
May-18-2025, 06:28 PM
» Replies: 0
» Views: 227
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 334

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Secure and Reliable Colou... 13 minutes ago ishani007 ishani007 News and Disc...
  Error on import: SyntaxEr... Yesterday, 07:49 kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... Yesterday, 06:08 Hasan2025 DeaD_EyE General Codin...
  How can I write formatted... 05-20, 12:26 JohnJSal hanmen9527 General Codin...
  problems with netcdf if I... 05-20, 05:31 Blaubart vytlacfoto General Codin...
  How to attach images to a... 05-19, 04:08 CynthiaMoore sethmike9 Board
  How To Attach data Files 05-19, 04:05 Talch sethmike9 Board
  Text frame 05-18, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... 05-18, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
Most views
  The best Prog... 566776
  Tutorial Requ... 462402
  Web Scraping ... 431673
  Newbie with P... 369139
  Thread remain... 341266
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12052
buran 8170
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kjhlcd4p6g Today
Arush Yesterday
ishani007 Yesterday
blueglasses Yesterday
Kiongi Yesterday

User Panel Messages

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