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,257
» Latest member: Bamboo
» Forum threads: 38,782
» Forum posts: 175,836

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 40 Guest(s)
Bing, Google, Facebook Dev, Larz60+

Latest Threads
[solved] re.split issue
Forum: General Coding Help
Last Post: DeaD_EyE
3 hours ago
» Replies: 9
» Views: 175
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
4 hours ago
» Replies: 2
» Views: 94
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 192
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 365
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 122
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 250
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 401
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 152
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,646
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 255

 
  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

  Raising numbers to power **
Posted by: GJG - Mar-23-2021, 03:01 PM - Forum: General Coding Help - Replies (3)

Hi there!
I've noticed something that I can't quite wrap my head around:
if I raise 2**2 I get 4
and if I raise 4**3 I get 64
but if I do somethin..... More

Print this item

  Python Google maps API -> GUI tkinter
Posted by: Nick_tkinter - Mar-23-2021, 01:44 PM - Forum: GUI - Replies (9)

Hello guys.I have a question.How can I integrate Google Maps API in a Python GUI? (for example inside a label)
Thanks.

Print this item

  Evaluating math from left to right in coding
Posted by: hannahlynn - Mar-23-2021, 11:55 AM - Forum: Homework - Replies (3)

problem = int(eval(input('Enter a math problem')))
print(problem)
When using the code I have above it does evaluate the problem h..... More

Print this item

  Selenium/Helium loads up a blank web page
Posted by: firaki12345 - Mar-23-2021, 11:51 AM - Forum: Web Scraping & Web Development - No Replies

ok i have been web scraping the past week, but this particular website is giving me a lot of problems, it just loads a blank web page with nothing to ..... More

Print this item

  For loops index
Posted by: rturus - Mar-23-2021, 08:48 AM - Forum: General Coding Help - Replies (5)

[python]
event = ["A","B","C","D"]


for x in range(4):

maximum=(int(input("Enter the maximum points for the " + event[x] + " event ")))..... More

Print this item

  Auto populate dictionary with names/values of QT widgets
Posted by: cjh - Mar-23-2021, 04:38 AM - Forum: GUI - Replies (1)

Hi all,

I am trying to build a GUI in PyQt5 (Python 3.9) with a bunch of QTextEdits that the user will type into. From there, I am using jinja2 to ..... More

Print this item

  Copy documents to Teams using python
Posted by: SallySmith - Mar-23-2021, 04:27 AM - Forum: General Coding Help - No Replies

Hi Everyone I am very new to python.
How do I automatically upload files to Teams using python.
I tired the following, but It did not work.

[pyth..... More

Print this item

  pip issues with windows 10
Posted by: sxkladi - Mar-23-2021, 01:05 AM - Forum: General Coding Help - Replies (8)

I am running windows 10 at home and work. pip has always worked until lately. no matter what I do I get


WARNING: Retrying (Retry(total=4, connec..... More

Print this item

  Need Help with connecting to mysql from txt file
Posted by: kingceasarr - Mar-22-2021, 08:35 PM - Forum: General Coding Help - Replies (4)

hello i was trying to connect by string or variable first but it didnt seem to hold.
i have checked multiple forums and did lots of google but i dont..... More

Print this item

  Failure to send verification code
Posted by: okdude2124 - Mar-22-2021, 07:39 PM - Forum: Web Scraping & Web Development - No Replies

Hello
I want to perform the steps of login Pyrogram under Felsk
But Verification code will not be sent!
what is the problem?

app.py

[python]f..... More

Print this item

  Lists + Empty Lists
Posted by: Pytho13 - Mar-22-2021, 06:39 PM - Forum: General Coding Help - Replies (15)

Sorry if this is stupid but I have created a list of days

[inline]days = ['Monday','Tuesday', 'Wednesday', 'Thursday','Friday', 'Saturday', 'Sunda..... More

Print this item

  Help with re.search()
Posted by: Sigwulfr - Mar-22-2021, 06:18 PM - Forum: Homework - Replies (1)

Hi

I need help writing a re.search() method inside the Book class (see below), that will allow me to search for a string or part of a string, and r..... More

Print this item

  Multiple return from function
Posted by: Grimmar - Mar-22-2021, 04:57 PM - Forum: Homework - Replies (7)

Hi guys,
Just started with python and is trying to create a dice generator for a specific RPG-game.

I am trying to get an answer back from a func..... More

Print this item

  How to solve problem 1181 of the URI with numpy.
Posted by: thiagohps - Mar-22-2021, 02:50 PM - Forum: Homework - Replies (4)

I'm new to python and I don't know how I can solve this type of problem using numpy.

Could someone help me.

Link: https://www.urionlinejudge.com..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] re.split issue 3 hours ago paul18fr DeaD_EyE General Codin...
  Please guide me to comple... 4 hours ago pbkurd pbkurd General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578947
  Tutorial Requ... 510378
  Web Scraping ... 441965
  Newbie with P... 385987
  New Users Int... 376969
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday

User Panel Messages

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