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: Littlefish
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 35 Guest(s)
Bing, AOL, Google, Mojeek

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 8
» Views: 248
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
5 hours ago
» Replies: 0
» Views: 65
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,438
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 845
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,681
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,194
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,712
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,521
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,624
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,808

 
  PIP Error
Posted by: Frogcop - Mar-26-2021, 07:56 PM - Forum: General Coding Help - Replies (5)

Hello, I'm having an error when I try to run PIP. I've tried reinstalling Python but it didn't work. (I'm using Python 3.5 because my operating system..... More

Print this item

  Launch Windows Application
Posted by: OEMS1 - Mar-26-2021, 07:42 PM - Forum: General Coding Help - No Replies

Hallo,

I am using a python script running as a service (intalled with NSSM)
The script is working fine, but I can not start an application like no..... More

Print this item

  How to handle the authentication for Apps within OneLogin?
Posted by: tonywang531 - Mar-26-2021, 10:44 AM - Forum: Networking - Replies (1)

My company uses Office 365 within OneLogin. Therefore I need to log in to OneLogin first then sign into Office 365 (OneDrive). My question is how do I..... More

Print this item

  Django project deployed to Heroku: Postgres security
Posted by: Drone4four - Mar-26-2021, 10:17 AM - Forum: Web Scraping & Web Development - No Replies

I’ve setup my Django settings.py in such a way that I can access the Postgres instance in the cloud containing my production data in my local develo..... More

Print this item

Thumbs Up tkinter canvas; different page sizes on different platforms?
Posted by: philipbergwerf - Mar-25-2021, 08:05 PM - Forum: GUI - Replies (4)

I am working on an alternative music notation app for a long time and I have a problem. I use Tkinter canvas for drawing the whole score. I get differ..... More

Print this item

  index of range, but data prints out
Posted by: mrc06405j - Mar-25-2021, 07:10 PM - Forum: General Coding Help - Replies (1)

I have written a program in python. It occasionally gives an index out of range at a particular line in the code. I printed out all of the variables..... More

Print this item

  More list help please!
Posted by: Pytho13 - Mar-25-2021, 03:22 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I have a question that I can't figure out, I've been trying to find the answer myself.

I have created two lists and looped throug..... More

Print this item

  How to create a simple GUI
Posted by: GRS26 - Mar-25-2021, 02:23 PM - Forum: GUI - Replies (7)

Hello,
I am starting a new school project where I need to control a aolenoid and actuator with a RPI. Normally it would no problem, just write a litt..... More

Print this item

  New to Python. How do i read out this number?
Posted by: dhl047 - Mar-25-2021, 10:36 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

i am new to Python. For my first project i want to scrap the number "CY"... but i cant find a solution to scrap it.

Can you help me with..... More

Print this item

  Keep getting Session management error when running imshow in pycharm
Posted by: pace - Mar-25-2021, 10:06 AM - Forum: General Coding Help - No Replies

So I've tried following the advice in other post about this error, but have yet to solve the issue.

When I use cv2.imshow I get the error:
[inline]Qt..... More

Print this item

  How to set LD_LIBRARY_PATH on python codes?
Posted by: aupres - Mar-25-2021, 08:32 AM - Forum: General Coding Help - Replies (1)

I am using eclipse ide. So I configure LD_LIBRARY_PATH environment variable on eclipse ide. But I try to generate python codes which are independent o..... More

Print this item

  Want to replace last column header value
Posted by: shantanu97 - Mar-25-2021, 06:35 AM - Forum: General Coding Help - No Replies

Want to replace last column header value to "Sourcefile". This python script is to extract each sheet in an Excel workbook as a new csv file.

[pyth..... More

Print this item

  IndexError: list index out of range
Posted by: brunolelli - Mar-25-2021, 04:38 AM - Forum: General Coding Help - Replies (11)

Hello guys...

What's going on with my code?
[python]from tempfile import NamedTemporaryFile
from FlightRadar24.api import FlightRadar24API
from ..... More

Print this item

  Accessing S3 buckets through the AWS dashboard created by dj_database_url
Posted by: Drone4four - Mar-25-2021, 01:04 AM - Forum: Web Scraping & Web Development - Replies (2)

I automated the creation and configuration of my Postgres db for my Django project hosted as an S3 bucket on AWS through Heroku using a `dj_database_u..... More

Print this item

  looking for a permutation function
Posted by: Skaperen - Mar-24-2021, 10:51 PM - Forum: News and Discussions - Replies (2)

i am looking for a permutation function (hoping i don't need to write one) that can take 3, 4, or 5 characters i give (no duplicats) and produce all p..... More

Print this item

Exclamation Why there's a 'blank line' on CSV file?
Posted by: brunolelli - Mar-24-2021, 10:12 PM - Forum: General Coding Help - Replies (4)

Hello guys,

With the following code I'm exporting my data to a CSV file:
[python]from tempfile import NamedTemporaryFile
from FlightRadar24.api i..... More

Print this item

  Application to find title in PDF?
Posted by: Winfried - Mar-24-2021, 09:56 PM - Forum: General Coding Help - Replies (4)

Hello,

I need to loop through PDF files where the title is always somewhere in page 3 — The metadata doesn't contain the actual title.

[url=http..... More

Print this item

  tabula-py, how to preserve a read_pdf() format and export to csv
Posted by: abcoelho - Mar-24-2021, 08:04 PM - Forum: General Coding Help - Replies (2)

this code:
[python]
from tabula import read_pdf


pdf_path = r'C:\Users\Arthur\PycharmProjects\Leitor\relatorio_base.pdf'
df1 = read_pdf(pdf_pat..... More

Print this item

  Loop different actions for an array
Posted by: Tibovdv - Mar-24-2021, 07:50 PM - Forum: General Coding Help - Replies (4)

Hello all,

I am making a program that needs to calculate the downtime of different modules of a tool.
I have already made a part of the program w..... More

Print this item

  Data merge error
Posted by: rr1997 - Mar-24-2021, 03:25 PM - Forum: General Coding Help - No Replies

Hi,

I have tried to do a vLookUp throw data merge and the column "Instalações" that I need to get the values still empty.

Can someone help me?
..... More

Print this item

  Here's a random project I made recently!
Posted by: Telling - Mar-24-2021, 02:15 PM - Forum: Code sharing - Replies (1)

I'm a beginner programmer, and I'm making random ideas for projects all the time. I made a program in called "PythonOS" that's not a real operating sy..... More

Print this item

  Efficient way to mark entries in df with overlap in time ranges
Posted by: Andreas_Python - Mar-24-2021, 02:10 PM - Forum: Data Science - No Replies

Hi, I have df like:
[python]
df = pd.DataFrame(np.array([[1, 10, 20], [1, 5, 8], [1, 5, 15], [1, 13, 14], [1, 18, 21],[2, 2, 2], [1, 21, 100], [1, 1..... More

Print this item

  Face detector project?
Posted by: korenron - Mar-24-2021, 01:43 PM - Forum: General Coding Help - Replies (5)

Hello ,
I want to build a face detector with python on my PI
that will just recognaize faces
for first stage I don't need it to tell me who is thi..... More

Print this item

  How would I go about this error?
Posted by: stylingpat - Mar-24-2021, 12:39 PM - Forum: General Coding Help - Replies (1)

[output]Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Users\zenfi\AppData\Local\Programs\Python\Python39\lib\threading..... More

Print this item

  drf ordering by custom field and add ranking in to_representation
Posted by: tomfong521 - Mar-24-2021, 09:56 AM - Forum: General Coding Help - No Replies

my serizalizer had def to_representation to made some calculation:

[python]def to_representation(self, instance):
data = super().to_repres..... More

Print this item

  Add a new column when I extract each sheet in an Excel workbook as a new csv file
Posted by: shantanu97 - Mar-24-2021, 04:56 AM - Forum: General Coding Help - No Replies

Below is a python script is to extract each sheet in an Excel workbook as a new csv file.Want to Add a new column when I extract each sheet in an Exc..... More

Print this item

  This is weird!!! It should work but I get an but I get a "ValueError: I/O operation"
Posted by: ashergreen - Mar-24-2021, 01:07 AM - Forum: Homework - Replies (3)

This is a simple assignment from one of my courses that I am doing. The assignment is to analyze a list of integer numbers and return True if the arr..... More

Print this item

  How to clip layout to sides and bottom of main window?
Posted by: Valmont - Mar-24-2021, 12:00 AM - Forum: GUI - Replies (9)

A simple window (QWidget) with a status bar. I add some kind of layout to insert a textbox and a few labels in a horizontal line-up. But how to I atta..... More

Print this item

  .get() invoke after a button nested press
Posted by: iddon5 - Mar-23-2021, 09:42 PM - Forum: GUI - Replies (5)

Hi, I have trouble making get work if its called a from a button press...

[python]def UserLogin2():
attempt_made = False
user_record = ['..... More

Print this item

  How to write a recursion syntax for Sierpinski triangle using numpy?
Posted by: Bolzano - Mar-23-2021, 07:40 PM - Forum: Homework - Replies (2)

Hi,
I'm new to programming in python [total beginner in programming] and I would like to ask you for your help.

So here is my problem:
I'm tryin..... More

Print this item

  Dataframe with array value
Posted by: Tibovdv - Mar-23-2021, 06:44 PM - Forum: Data Science - Replies (2)

Hello All,

I want to make a new dataframe for every unique value from a column.
For one specific column I can write it manually, but my script nee..... More

Print this item

  Why doesn't this print statement work?
Posted by: stylingpat - Mar-23-2021, 06:07 PM - Forum: General Coding Help - Replies (10)

Hey guys, I'm learning about multiprocessing. If I run this code, I don't get the print "Sleeping for 1 second". But if I run the line do_something(),..... More

Print this item

  how to connect mysql from txt 1 line goes good but not all lines in text
Posted by: kingceasarr - Mar-23-2021, 06:03 PM - Forum: General Coding Help - Replies (4)

hii once again i need help i'm taking courses but just need a little help.
I have a made script that opens a file with data stored to read the file an..... More

Print this item

  keyboard module question
Posted by: DPaul - Mar-23-2021, 04:22 PM - Forum: General Coding Help - No Replies

Hi,

I installed the keyboard module for a simple task. I want the user to be able to input a letter representing a color.
This is a stripped down ..... More

Print this item

  List calculations
Posted by: rturus - Mar-23-2021, 03:49 PM - Forum: General Coding Help - Replies (1)

Sorry for populating the forum. However, I need some advice.

My below data is stored in the lists.
I would like to do calculations on the base of ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 3 hours ago Anunderling deanhystad General Codin...
  A coding beginner needs h... 5 hours ago Littlefish Littlefish General Codin...
  403 Error 09-20, 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...
  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... 576539
  Tutorial Requ... 498498
  Web Scraping ... 440415
  Newbie with P... 384318
  New Users Int... 367492
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 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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