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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,509

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 46 Guest(s)
Applebot, Google, AOL, AOL

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
29 minutes ago
» Replies: 1
» Views: 70
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,325
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 759
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,628
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,105
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,611
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,435
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,625
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,562
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,728

 
  LDAP search for getmail
Posted by: sharbich - May-04-2021, 09:58 AM - Forum: General Coding Help - No Replies

Hello my dears,

i can't find the error in my Python script. I use the Scricpt to pick up messages from my old email address. Actually everything wo..... More

Print this item

  web scrapping through Python
Posted by: Naheed - May-04-2021, 07:50 AM - Forum: Web Scraping & Web Development - Replies (2)

Can you suggest some good sources for web scrapping through Python?

Print this item

  Removing all strings in a list that are of x length
Posted by: Bruizeh - May-04-2021, 04:52 AM - Forum: Homework - Replies (5)

Hey all,

One of my revision practices involves creating a function that removes all strings that has the highest string length in a list.

Expect..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 29 minutes ago Anunderling deanhystad General Codin...
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576495
  Tutorial Requ... 498376
  Web Scraping ... 440384
  Newbie with P... 384282
  New Users Int... 367389
Most reputation
buran 581
snippsat 508
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+ 12087
buran 8175
snippsat 7368
deanhystad 6892
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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