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,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,029

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 31 Guest(s)
Apple, Bing, AOL, Google, Axel_Erfurt

Latest Threads
IP address for users
Forum: Networking
Last Post: Ruth_Hernandez
8 hours ago
» Replies: 5
» Views: 7,143
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
10 hours ago
» Replies: 28
» Views: 15,577
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 137
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,608
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 212
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,627
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 182
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 338
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,996
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 205

 
  Schedule a task and render/ use the result of the task in any given time
Posted by: klllmmm - May-04-2021, 01:55 AM - Forum: General Coding Help - Replies (2)

I want to schedule a task and use the result of the task while the schedule is being running.

For example, once in every minute I want to get the c..... More

Print this item

  Subprocess.Popen() not working when reading file path from csv file
Posted by: herwin - May-03-2021, 07:51 PM - Forum: General Coding Help - Replies (13)

I am a beginner at python coding.

I wrote a simple code that lists a number of programs and asks the user to choose one of the programs. It will th..... More

Print this item

  Is there a library for recursive object creation using config objects
Posted by: johsmi96 - May-03-2021, 07:47 PM - Forum: General Coding Help - No Replies

would like to be able to create objects of classes which inherit from something like Configurable through a factory method in addition to the normal c..... More

Print this item

  BrokenPipeError: [Errno 32] Broken pipe
Posted by: throwaway34 - May-03-2021, 06:40 PM - Forum: General Coding Help - Replies (6)

So I've been working on this remote command script for sometime now but my work has been hindered by this pesky error: [python]BrokenPipeError: [Errno..... More

Print this item

  Pie chart from input
Posted by: swar6 - May-03-2021, 05:39 PM - Forum: General Coding Help - Replies (1)

Hi everyone hope you're all having a good day.


I am currently trying some stuff and i could need some help if possible.

I need help turning in..... More

Print this item

  Adding the timer, smiley face, and flags in Minesweeper.
Posted by: javesike1262 - May-03-2021, 03:00 PM - Forum: GUI - Replies (5)

Hi everyone, A friend of mine and I have been working on a Minesweeper game created in Python in Tkinter. We have almost completed programming the gam..... More

Print this item

  Python C++ Template Equivalent
Posted by: deanhystad - May-03-2021, 02:30 PM - Forum: General Coding Help - Replies (7)

I have the following code that adds a couple of features to QWidget and QGroupBox.
[python]class View(QtWidgets.QWidget):
"""Add upload and upda..... More

Print this item

  Run one Python Script from Another Script
Posted by: stylingpat - May-03-2021, 01:44 PM - Forum: General Coding Help - Replies (1)

Hello, if I do import "scriptname" I can load one python script from another. I am trying to make a main script that launches 5 seperate python..... More

Print this item

  For loops returning wrong output
Posted by: Nighthound21 - May-03-2021, 03:16 AM - Forum: General Coding Help - Replies (1)

I got a project going and it seems to give me an error.Im looking for the output of
a list what dict_subset returns. such as [{a:'Tim',b:'charlie','..... More

Print this item

  Pygame freezes after certain time
Posted by: GJG - May-03-2021, 02:53 AM - Forum: Game Development - Replies (5)

Hi! Trying to make a previz window for testing a puzzle game while in development, but it keeps freezing after certain time, I am very new to pygame, ..... More

Print this item

  PyAutoGUI issues with detection
Posted by: Bizzy_ - May-03-2021, 01:34 AM - Forum: GUI - No Replies

Hello all,

I'm experiencing issues with the image recognition tool (pyautogui.locateOnScreen('/Users/kd/Desktop/image.png', confidence=0.8)
I have..... More

Print this item

  format the output from a nested dictionary.
Posted by: nostradamus64 - May-02-2021, 10:37 PM - Forum: General Coding Help - Replies (9)

Hello everyone im trying to make my codes output to look like this output,
without any trailing or leading symbols. Any tips on how i can do that?
..... More

Print this item

  Create SQLite columns from a list or tuple?
Posted by: snakes - May-02-2021, 06:17 PM - Forum: General Coding Help - Replies (6)

Is there a way to create a table with column names pulled from a list or tuple?
For example...

[python]cur.execute('CREATE TABLE IF NOT EXISTS Cu..... More

Print this item

  Even number code syntax error
Posted by: MrCeez - May-02-2021, 05:27 PM - Forum: General Coding Help - Replies (1)

I have just began my python journey
I am trying to write a code to check if vaue x y z are even numbers
This is my code
[python]
if x %2 == 0: or ..... More

Print this item

  .get() from generated Entry widgets in tkinter
Posted by: snakes - May-02-2021, 04:19 PM - Forum: GUI - Replies (4)

I've been learning about classes and databases and thought I'd have a go at writing something that uses both features. Its a tkinter notebook that aim..... More

Print this item

  How to multiply a matrix with herself, until the zero matrix results
Posted by: peanutbutterandjelly - May-02-2021, 04:09 PM - Forum: General Coding Help - Replies (3)

Hi there!

I'm not quite sure how to code the following problem:
I have to multiply a given matrix A with herself that often, until the zero matrix..... More

Print this item

  TypeError: int() argument must be a string, a bytes-like object or a number, not 'Non
Posted by: Anldra12 - May-02-2021, 02:38 PM - Forum: General Coding Help - Replies (2)

[quote]Implement cryptographic code return me an error where is the exact error
TypeError: int() argument must be a string, a bytes-like object or a ..... More

Print this item

  error in your SQL syntax
Posted by: Xuli - May-02-2021, 11:58 AM - Forum: General Coding Help - Replies (10)

Hi,

I am wanting to check if a username already exists. If so a message box will be displayed, if not the username and the rest of the field entri..... More

Print this item

Question Stopping a parent function from a nested function?
Posted by: wallgraffiti - May-02-2021, 11:27 AM - Forum: General Coding Help - Replies (1)

Here's an example:
[python]
# I want to stop function parent() from function child().

def parent():
def child():
print('A')
returnpa..... More

Print this item

  Bool Object is not Subscriptable
Posted by: quest - May-02-2021, 10:24 AM - Forum: General Coding Help - Replies (1)

Hello

I want to compare string and bool.
Here is my function:
[python]
def MyFunction(qbt, Pauli):

if qbt.QEO.state[0]=='Bell':
..... More

Print this item

  Pygame Rect Not Responding
Posted by: SomebodyImportant - May-02-2021, 10:20 AM - Forum: General Coding Help - Replies (1)

In my Code I try to move the yellow Rectangles over my Pygame Window but they dont respond. The green and the red rectangle respond to my commands. On..... More

Print this item

  bluestacks instagram follow bot
Posted by: countingclub - May-02-2021, 07:27 AM - Forum: News and Discussions - Replies (2)

I used pyautogui to check rgb value of pixel and would click if its the same rgb of the follow button. I made some key shortcuts on bluestacks and use..... More

Print this item

  Ignoring errors when using robjects.
Posted by: Rav013 - May-02-2021, 12:24 AM - Forum: General Coding Help - Replies (3)

I am trying to download packages for R script via python.


[python]

import rpy2.robjects as robjects

data = robjects.r('if(!require(rma..... More

Print this item

  Did subprocess.Popen() causes main routine to pause stdout?
Posted by: liudr - May-01-2021, 07:16 PM - Forum: General Coding Help - Replies (4)

Here is what I wanted to do:
In nix terminal emulator, run my script.
Call subprocess.Popen() to spawn a number of processes, make sure the stdout p..... More

Print this item

  Escape Single quotation between each content tag
Posted by: usman - May-01-2021, 06:44 PM - Forum: General Coding Help - Replies (3)

Hello All,

I am trying to escape a Quotation between content tag of this string

[python]"[[('name', 'productname_0'), ('type', 'html'),('conten..... More

Print this item

  fpdf orientation not working properly
Posted by: KatMac - May-01-2021, 06:38 PM - Forum: General Coding Help - Replies (1)

Hi

I have a csv file that I converted to a pdf file using fpdf.

If I set the orientation using Code 1 my page is converted into landscape, but t..... More

Print this item

  remove vowels in word with conditional
Posted by: ambrozote - May-01-2021, 05:55 PM - Forum: General Coding Help - Replies (12)

Hello,

I am trying to shorten large strings by applying some rules to it but not being able to figure it out.

Here is the code I have tried so f..... More

Print this item

  fpdf star character issue
Posted by: KatMac - May-01-2021, 04:32 PM - Forum: General Coding Help - Replies (3)

Hello,

I have a database with a number of fields and 1 of the fields is Rating. This field contains the word, One, Two, Three, Four or Five.

Ea..... More

Print this item

  500 internal server error
Posted by: Nitil - May-01-2021, 03:25 PM - Forum: General Coding Help - Replies (1)

I am trying to create a simple webpage following an online instructor.
He is using bootstrap, jQuery, Ajax, MongoDB.
The instructor has no forms/Git..... More

Print this item

  Random walk graph not working
Posted by: igapo1 - May-01-2021, 12:21 PM - Forum: Homework - Replies (1)

I've created a 3D and self-avoiding random walk, based on a dictionary containing only {'A','B','B','A','B','A',......} And made a graph out of it.
..... More

Print this item

  Derivative function
Posted by: Irv1n - May-01-2021, 06:49 AM - Forum: General Coding Help - Replies (1)

[python]
import sympy as sym
def sens_coef(self, U_err, I_sd, I_err, I_dig):
U_err, I_sd, I_err, I_dig = sym.symbols('U_err I_sd I_err I_d..... More

Print this item

  How to collate Multiprocessing-Process results?
Posted by: Robotguy - May-01-2021, 06:42 AM - Forum: Data Science - Replies (1)

Let us consider the following code where I calculate the factorial of 4 really large numbers, saving each output to a separate .txt file (`out_mp_{idx..... More

Print this item

Star Type Error: 'in' object is not callable
Posted by: nman52 - May-01-2021, 03:41 AM - Forum: General Coding Help - Replies (3)

[python]
import statistics as s

class stats:

def mode(self):
self.mode = s.mode(self.value)
return(self.mode)
def..... More

Print this item

  How to convert every even number in a list to odd?
Posted by: Bruizeh - May-01-2021, 02:15 AM - Forum: Homework - Replies (4)

Hey all, one of my revision questions was to create a func that takes a list of integer values as a list, and convert every even number into an odd nu..... More

Print this item

  Python bot for ADB Android SCRCPY
Posted by: Bizzy_ - May-01-2021, 01:11 AM - Forum: General Coding Help - Replies (3)

Hello everyone,

Ive been working on a script to automate certain tasks on various social media/games and retail sites.

Currently I have been wor..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 8 hours ago Robots Ruth_Hernandez Networking
  Merge video with subtitle... 10 hours ago Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 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
Most views
  The best Prog... 580458
  Tutorial Requ... 519865
  Web Scraping ... 442794
  Newbie with P... 387004
  New Users Int... 386706
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
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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