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,983
» Latest member: bimosora
» Forum threads: 38,734
» Forum posts: 175,571

Full Statistics

Online Users
There are currently 57 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Google, AOL, Apple, Facebook Dev, Internet Archive

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: bimosora
1 hour ago
» Replies: 0
» Views: 12
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 5
» Views: 158
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,033
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 446
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,079
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,144
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 816
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,099
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,544
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,133

 
  How get table element
Posted by: zinho - Dec-26-2019, 08:38 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi

How can I get table with result?

[python]import requests
from bs4 import BeautifulSoup

page = requests.get('https://chess24.com/en/watch/..... More

Print this item

  Broken interpreter?
Posted by: fcktheworld587 - Dec-26-2019, 07:54 PM - Forum: General Coding Help - Replies (1)

Whenever i try to run a script through Python 3.8 it gives me the following output:
[output]Please enter a string:
(a)There is a total of 0 charact..... More

Print this item

  Novice use of a CSV
Posted by: preliator - Dec-26-2019, 06:00 PM - Forum: General Coding Help - Replies (1)

Good morning all,

Having a good knowledge of databases and SQL, I would like to be able to automate the task of recovering data from a CSV file wit..... More

Print this item

  How to left align the columns
Posted by: SriRajesh - Dec-26-2019, 01:27 PM - Forum: General Coding Help - Replies (6)

Hi,

I have the below code, and I store data in str. Now I want to print this str using left align. I use below code but it is not left-aligned.
..... More

Print this item

  Failed to insert record into MySQL table.Python type tuple cannot be converted
Posted by: farah97 - Dec-26-2019, 12:26 PM - Forum: General Coding Help - Replies (3)

I want to create sentiment analysis using Vader in Python and Mysql. The problem is, I got the error on mysql, especially when to insert the data into..... More

Print this item

  Launch soft on Terminal in silent mode
Posted by: DKRoots - Dec-26-2019, 07:41 AM - Forum: Homework - Replies (4)

Ok, Hi everyone,

I explain to you,

I make a little program for automatize tasks as downlaod, install and start software, a kind og all in one.
..... More

Print this item

  threads and subprocess.call
Posted by: Skaperen - Dec-26-2019, 06:01 AM - Forum: News and Discussions - Replies (4)

can i have 2 threads each call subprocess.call() and have 2 commands running in parallel without being blocked by the big global lock..... More

Print this item

  annoying conflict: stat
Posted by: Skaperen - Dec-26-2019, 04:07 AM - Forum: News and Discussions - Replies (2)

in a module i created to collect lots of different things i do, i ended up with:

import stat
from os import stat
they were not..... More

Print this item

  MYSQL how to assign a table for each user in my username table database?
Posted by: YoshikageKira - Dec-25-2019, 10:58 PM - Forum: General Coding Help - Replies (1)

So I have a mysql database with a table that stores each individual's username and password and ID. How do I assign a new table for each individual us..... More

Print this item

  Connecting 2 APIs
Posted by: kamaleon - Dec-25-2019, 09:54 PM - Forum: General Coding Help - Replies (2)

Hello,

I would like to connect Mailchimp with Sendy (another autoresponder).

Each time I get a new subscriber in Mailchimp I would like to also send..... More

Print this item

  What are the available softwares used to edit and simulate network routing protocols?
Posted by: leemao - Dec-25-2019, 05:28 PM - Forum: General Coding Help - Replies (1)

Hi

I would like to know what are the simulators / emulators or other software that can be helpful in editing and executing the network routing pro..... More

Print this item

  Help with Data Match Theory
Posted by: randor - Dec-25-2019, 05:26 PM - Forum: Data Science - Replies (2)

Hello,
I am newer to Pandas in Python, and I have a bit of a problem in that I cannot seem to wrap my head around how to do this task:

I have 2 DataF..... More

Print this item

  Merry Xmas
Posted by: ichabod801 - Dec-25-2019, 05:00 PM - Forum: Bar - Replies (2)

[python]
"""
xmas_tree.py

Prints a tree.

Functions:
tree: Create a text representation of a tree. (str)
"""


from __future__ import print_function
..... More

Print this item

  Keep getting "invalid syntax error"
Posted by: jpringle1 - Dec-25-2019, 02:44 PM - Forum: General Coding Help - Replies (3)

when running the following code

export SPOTIPY_CLIENT_ID = 'client id'
I get the error "SyntaxError: invalid syntax". The same erro..... More

Print this item

  how to write messages from command window to log file
Posted by: SriRajesh - Dec-25-2019, 02:15 PM - Forum: General Coding Help - Replies (1)

Hi,
I want to write every this which is showing while running my python script. I use below code, but its not writing q & b values, but they are pri..... More

Print this item

  Scrapping javascript website with Selenium where pages randomly fail to load
Posted by: JuanJuan - Dec-25-2019, 01:35 PM - Forum: Web Scraping & Web Development - Replies (14)

I have a python scrapper with selenium for scrapping a dynamically loaded javascript website.
Scrapper by itself works ok but pages sometimes fail to..... More

Print this item

  PyQt5 How do you make a functioning login and registration program?
Posted by: YoshikageKira - Dec-25-2019, 03:20 AM - Forum: GUI - Replies (4)

Hello! I am trying to make a User login and register program involving an sqlite3 database, but Im having trouble where to began nor what to do. Heres..... More

Print this item

  itertools.zip_shortest() fo unequal iterators
Posted by: Skaperen - Dec-25-2019, 02:15 AM - Forum: General Coding Help - Replies (10)

itertools.zip_longest() exists but itertools.zip_shortest() does not. is there some other name to call to iterate e..... More

Print this item

  I need help fixing a syntax error!
Posted by: chenqin348 - Dec-25-2019, 01:08 AM - Forum: Data Science - Replies (5)

Hi! Can someone help me fix this python code! I don't know why their is a syntax error on print colored. I need this tomorrow so please bless me with ..... More

Print this item

  List conversion and multiplication
Posted by: johnkyp - Dec-25-2019, 12:34 AM - Forum: General Coding Help - Replies (5)

Hello,

I am trying to work my way through some practice exercises where the objective is to convert a string containing numbers, so that I am able ..... More

Print this item

  Custom Fonts
Posted by: GalaxyCoyote - Dec-24-2019, 08:04 PM - Forum: GUI - Replies (1)

I am going to be making a couple of applications that require my own custom font, but I can't seem to find any imports that allow me to use my font. I..... More

Print this item

  Terminate a process when hotkey is pressed
Posted by: 66Gramms - Dec-24-2019, 06:41 PM - Forum: General Coding Help - No Replies

Hello All!

I want to make a simple program running in the background which when detects a certain hotkey being pressed, it terminates the currently..... More

Print this item

  to display cotent of database between two dates
Posted by: atlass218 - Dec-24-2019, 03:32 PM - Forum: GUI - Replies (29)

hi; I try to display the cotent of my database between two dates but I have somme problems.
there is the code of the function with which I want to dis..... More

Print this item

  Want to add formula to excel sheet
Posted by: nagu4651 - Dec-24-2019, 03:03 PM - Forum: General Coding Help - Replies (1)

Hi Team,

I just want to add two columns in excel sheet leaving first row and adding (ab+ac=AD) for all rows except first row . How can I proceed ah..... More

Print this item

  How to make tkinter object move endlessly
Posted by: JacobTroubler - Dec-24-2019, 02:33 PM - Forum: Homework - Replies (2)

Hi, so I´m kinda noob in python, I just started learning it. I got this game in mind where u have a ball going from top to bottom without changing x d..... More

Print this item

  Tkinter delete combobox content and not the list
Posted by: LagratteCchouette - Dec-24-2019, 01:42 PM - Forum: GUI - Replies (4)

Good morning all,

I want to delete to zero my "combobox" for a next entry. I have read is studied a lot of tutorials, but I found nothing to get to..... More

Print this item

  Why is this code not an infinite loop?
Posted by: psi2kgcm - Dec-24-2019, 01:26 PM - Forum: General Coding Help - Replies (1)

Hi,

Why is following code not infinite loop when I am setting the loop's counter variable i to 0 before it comes to an end?

[python]
def..... More

Print this item

  Problems with pytmx
Posted by: Piethon - Dec-24-2019, 11:27 AM - Forum: Game Development - Replies (15)

Merry Christmas too all of you out there.

I have a problem with pytmx, as you can already say from the title of this thread.
So I have made a clas..... More

Print this item

  Write the XML file from elementtree with hexa decimal encoding
Posted by: Dillibabu - Dec-24-2019, 09:06 AM - Forum: General Coding Help - Replies (4)

Hi,

I am new to python development. I am using the Elementtree to parse and manipulate the XML file which contains the special characters with hexa..... More

Print this item

  Why does Cython generates bad code for Gentoo?
Posted by: AlekseyPython - Dec-24-2019, 08:51 AM - Forum: General Coding Help - Replies (1)

Kubuntu 19.10 / Gentoo

I wrote a Python- program, that uses a small computational core, written with a Cython. Having tested on Kubuntu and Gentoo, I..... More

Print this item

  neeeed help major
Posted by: hussruss253 - Dec-24-2019, 06:20 AM - Forum: General Coding Help - No Replies

can anyone please help me? i have a script for password hacking for md5 hash password for fun. my problem is when i run my script i have it set to sta..... More

Print this item

  f-string capability in a function
Posted by: Skaperen - Dec-24-2019, 06:10 AM - Forum: News and Discussions - Replies (8)

i would like to have a script read a string from a file and call a function to act on it just as if that string had been coded like the contents of an..... More

Print this item

  Versions
Posted by: Hamsaleka - Dec-24-2019, 05:53 AM - Forum: General Coding Help - Replies (1)

How Can I use pypdfocr and ocrmypdf in python 3.7.4?

Print this item

  Python logging RotatingFileHandler and TimedRotatingFileHandler is not working with Q
Posted by: waytosatyam7 - Dec-24-2019, 05:35 AM - Forum: General Coding Help - Replies (2)

New logging packages (RotatingFileHandler & TimedRotatingFileHandler) is not working as per expectation.

problem: It creates the number of files as..... More

Print this item

  NameError :name 'name' is not defined
Posted by: Suzzy_ - Dec-24-2019, 02:45 AM - Forum: Web Scraping & Web Development - Replies (4)

taking a course at the moment which I why do follow examples, but getting the following Name error: name 'name' not defined.
[python]
from flask imp..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 1 hour ago bimosora bimosora General Codin...
  Parse Markdown / get the ... 9 hours ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
Most views
  The best Prog... 577451
  Tutorial Requ... 501124
  Web Scraping ... 441079
  Newbie with P... 385154
  New Users Int... 369769
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
bimosora Today
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday

User Panel Messages

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