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,286
» Latest member: xdimbah
» Forum threads: 38,792
» Forum posts: 175,875

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 32 Guest(s)
Bing, Google, Facebook, Apple, lovedeep

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 121
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 52
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 143
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 64
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,071
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,300
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 369
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 207
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 269

 
  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

  development of network equipment
Posted by: elstolbo - Dec-24-2019, 12:10 AM - Forum: GUI - Replies (2)

Hi programmers, I need some advice on the application I am developing in python. It is an application that will be something like a network device tha..... More

Print this item

  stale element reference
Posted by: keuninkske - Dec-23-2019, 10:17 PM - Forum: Web Scraping & Web Development - Replies (1)

hello,

i am trying to login to a suppliers webpage by a selenium script
i use python and chromedriver

i run into following error since 2days an..... More

Print this item

  Optimisation
Posted by: H0M1C1D4L_P1G - Dec-23-2019, 06:51 PM - Forum: General Coding Help - Replies (3)

Just a python noob wondering if there's a better method for delaying the order in which a program asks for an input, rather than just separating comma..... More

Print this item

  Permutations
Posted by: mikke3141 - Dec-23-2019, 05:48 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm new to Python and trying to learn the basics. How can I only show unique lists as a result so that if the list values are just in a differe..... More

Print this item

  Python for everyone course assignment 5.2
Posted by: ofekx - Dec-23-2019, 04:27 PM - Forum: Homework - Replies (3)

The assignment goal is to create a program that gets numbers as input from the user and i need to send back the largest number and the smallest numbe..... More

Print this item

  LDAP3 not return a list correctly?
Posted by: bazcurtis - Dec-23-2019, 04:20 PM - Forum: General Coding Help - No Replies

Hi,

I am using LDAP3 to retrieve every computer in my domain.

[python]from ldap3 import Server, Connection, ALL
ad_computer_list = []


# Pr..... More

Print this item

  select nan value
Posted by: fullstop - Dec-23-2019, 04:17 PM - Forum: Data Science - Replies (1)

I have a dataframe which have 2 columns. They have mutually exclusive nan in the cells. I mean the place where col1 is nan, col2 have some numerical v..... More

Print this item

  Meaning
Posted by: Jpen10 - Dec-23-2019, 03:43 PM - Forum: GUI - Replies (2)

Since python is very confusing and much of the syntax is kicking my butt, what does "import tkinter as tk" and "root= tk.Tk()" mean?

Print this item

  Combine a number into integer column and preserv format as number
Posted by: zinho - Dec-23-2019, 03:29 PM - Forum: Data Science - Replies (2)

Hi

I have a DataFrame 150.000 rows x 56 columns.
I need change value in column MVA and put number 1 first any value

Before
MVA
38.24
..... More

Print this item

  pip 2.7 problem with compiler
Posted by: aster - Dec-23-2019, 12:18 PM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to install a package (https://github.com/curtacircuitos/pcb-tools) with the python version bundled with kicad (python 2.7)
I am..... More

Print this item

  From comand line to GUI
Posted by: elmatte - Dec-23-2019, 09:18 AM - Forum: GUI - Replies (5)

Command line to GUI!
Hi! I am working as a teacher in a school in Sweden. I have created a simpel program that takes a date and then calculates the n..... More

Print this item

  how to divide array number
Posted by: chinting - Dec-23-2019, 08:52 AM - Forum: General Coding Help - Replies (5)

Array = [1,33,99,199,25]

I would like to ask how can write a code to arrange my array number can be divided by 3 and 5
can anyone help me thanks.

fo..... More

Print this item

  PyQt5: How do you set the user input of a line edit to a specific variable?
Posted by: YoshikageKira - Dec-23-2019, 08:09 AM - Forum: GUI - Replies (17)

Hello!

I made a program using PyQt5. The main problem however is trying to get the program to read a user input in the Qlineedit widget

my goal is t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579261
  Tutorial Requ... 512116
  Web Scraping ... 442189
  Newbie with P... 386296
  New Users Int... 379635
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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