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,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,027

Full Statistics

Online Users
There are currently 49 online users.
» 2 Member(s) | 38 Guest(s)
Bing, AOL, Facebook Dev, Google, Mojeek, AOL, OtiliaGen, Pedroski55

Latest Threads
Merge video with subtitle...
Forum: General Coding Help
Last Post: Biks
2 hours ago
» Replies: 27
» Views: 15,512
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 126
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 202
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,615
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 174
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 328
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,127
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,987
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 198

 
  Different versions of Python3 and Python
Posted by: Led_Zeppelin - Jun-15-2021, 06:50 PM - Forum: General Coding Help - Replies (2)

I am confused about something that is very simple(or should be). You can see from the code below that:

[output]
(base-dup) C:\Users\james\Download..... More

Print this item

  pdfminer to csv
Posted by: mfernandes - Jun-15-2021, 06:22 PM - Forum: General Coding Help - Replies (2)

Dear Python users,
I am currently learning python and using python 3 version.
I am trying to convert several pdf files into 1 csv file.
pdfminer se..... More

Print this item

  Handle http protocol
Posted by: JohnnyCoffee - Jun-15-2021, 04:11 PM - Forum: Networking - Replies (1)

I am designing a web server for python without using the module ( http.server ), as it is not recommended for production environment. I would like to ..... More

Print this item

  My .exe made using Python being detected as a virus
Posted by: 100grassfed - Jun-15-2021, 03:19 PM - Forum: General Coding Help - Replies (2)

I am currently trying to make simple code that misspells a word and copies it to your clipboard but when I share it to another computer it is detected..... More

Print this item

  @property vs __set__ / __get__ and __setattr__ / __getattr__
Posted by: okhajut - Jun-15-2021, 12:15 PM - Forum: General Coding Help - Replies (1)

I am new to Python and trying to get my head around Python OOP. I can see that using separate getter and setter is a bad approach and becomes tedious ..... More

Print this item

  Make Python as portable
Posted by: flaviu2 - Jun-15-2021, 11:01 AM - Forum: News and Discussions - Replies (3)

Hello Python users. Is there any way to use Python as portable ?

I have installed Python on my C:\Program Files, copy this folder som..... More

Print this item

  [solved] dataframe and read_csv
Posted by: ju21878436312 - Jun-15-2021, 09:44 AM - Forum: General Coding Help - Replies (4)

Aim: I would like to convert data, read with read_csv and convert it to a dataframe.
What I've tried: 1. data = pd.read_csv(...) 2. pd.DataFrame(dat..... More


Attached Files

.csv   minimal_data.csv (Size: 418 bytes / Downloads: 437)
Print this item

Question Problem with string and \n
Posted by: Falassion - Jun-15-2021, 06:38 AM - Forum: General Coding Help - Replies (6)

Hi all,

I have a csv file from which I correctly take a string in a list (list1). In the csv file the element is like:

row
row2
row3
row4

..... More

Print this item

  Sort and merge
Posted by: flintstone - Jun-14-2021, 03:48 PM - Forum: Homework - Replies (1)

I have 2 excel tabs : Purchase Order and Goods Received.
I am trying to use Python to match the Purchase Order from both tabs and then, proceed to m..... More


Attached Files

.zip   partsmerged.zip (Size: 186.65 KB / Downloads: 439)
Print this item

  I am getting a NameError that is not defined and not sure why it happen
Posted by: rick0922 - Jun-14-2021, 12:54 PM - Forum: General Coding Help - Replies (5)

This is my Code:

def test():
    exec("a=100")
    print(a)
    
test()
The Traceback i get is this:
[error]Traceback (most re..... More

Print this item

  loop running indefinitely
Posted by: shantanu97 - Jun-14-2021, 12:10 PM - Forum: General Coding Help - Replies (6)

My elif command is running indefinitely. My elif logic is simple. I have two API. 1) USA API- I wanted this API need should work only before year 1985..... More


Attached Files

.py   check.py (Size: 6.7 KB / Downloads: 434)
Print this item

  Trying to import packages on Pycharm
Posted by: KTam0916 - Jun-14-2021, 10:33 AM - Forum: Homework - Replies (1)

I'm trying to learn to code in Python (via Pycharm) and use the Kalman Filter in it. In this ..... More

Print this item

  Open an excel file
Posted by: Newbie1114 - Jun-14-2021, 09:40 AM - Forum: General Coding Help - Replies (1)

Hi i'm working on a project that require me to know how to open a excel file and read ,write on it.
But i don't know how to do it.Can you help me ,pl..... More

Print this item

  Parsing link from html tags with Python
Posted by: Melcu54 - Jun-14-2021, 09:22 AM - Forum: General Coding Help - No Replies

Hello. I need to copy the link from canonical html tag to the other tags below. I have many html files with these lines, so I must change in all the f..... More

Print this item

  Wikipedia Module in Python
Posted by: BlazingWarlord - Jun-14-2021, 07:08 AM - Forum: Tutorial Requests and Submissions - No Replies

Guide to Wikipedia Module in Python

Here is a simple guide to the Wik..... More

Print this item

  [split] Could you please clarify where i did mistake also how run without admin right
Posted by: Abubakkar - Jun-14-2021, 06:21 AM - Forum: General Coding Help - Replies (1)

Could you please clarify where i did mistake also how run without admin right

[python]import winreg as wreg
import webbrowser
def newregkey():
..... More

Print this item

  capture pre-registered addresses correctly
Posted by: moha - Jun-13-2021, 07:23 PM - Forum: Web Scraping & Web Development - Replies (1)

I would like to capture addresses pre-created by the client there is one default address and several one address or several addresses but currently I ..... More

Print this item

Question Python 3.10 and PyQt5(6)
Posted by: zazen000 - Jun-13-2021, 05:08 PM - Forum: GUI - Replies (2)

I moved a project from python 3.9 to a new env using python 3.10. I can not install PyQt5(or 6). It tries to install several versions and then errors ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Cannot get AWS Elastic Beanstalk Flask app to work
Posted by: Morkus - Jun-13-2021, 02:10 PM - Forum: General Coding Help - No Replies

Hello,

I've been working on this for a couple days but have gotten basically nowhere.

Following instructions I found, I created a zip file with ..... More

Print this item

  Create ZIP file not working using ZipFile?
Posted by: korenron - Jun-13-2021, 12:27 PM - Forum: General Coding Help - Replies (1)

Hello,
I'm trying to zip 1 big txt file before upload it (so insted of 22MB it will be ~ 2MB )
but the file created is 22MB and it's corrupted
the..... More

Print this item

  HELP on Unwanted CSV Export Output | Using Selenium to Scrape
Posted by: soothsayerpg - Jun-13-2021, 12:23 PM - Forum: General Coding Help - No Replies

Hi guys,

It's been a long time since my last post.

Anyway, I'm having trouble with the CSV export result on a website I am trying to scrape data..... More

Print this item

  Help with return on REST API Flask
Posted by: korenron - Jun-13-2021, 10:40 AM - Forum: General Coding Help - No Replies

Hello
I have manage to create a REST API Server that uplaod a file on reqeust.
my question is simple :
how can I aslo return a message on browser?..... More

Print this item

  How to move each team row to a new column. Pandas
Posted by: vladiwnl - Jun-13-2021, 08:10 AM - Forum: Data Science - No Replies

Have a question how to move each team row to a new column dataset. So, I have 10 strings for 1 game and need to move this strings to columns to make d..... More


Attached Files

Thumbnail(s)
   
Print this item

  Datetime strp\delta problems
Posted by: korenron - Jun-13-2021, 07:46 AM - Forum: General Coding Help - Replies (2)

Hello ,
I think I'm missing something

I have a string and I want to make it a datetime object
I have found this
[python] StartDate = dateti..... More

Print this item

  pandas.errors.ParserError: Error tokenizing data. C error: Expected 9 fields in line
Posted by: Anldra12 - Jun-13-2021, 07:41 AM - Forum: General Coding Help - Replies (9)

Using Pandas to manipulate CSV file which return me this error

Quote:


[python]X = pd.read_csv(r"D:\Clusterin..... More

Print this item

  guys please help me , pycharm is not able to identify my xlsx file
Posted by: CrazyGreenYT7 - Jun-13-2021, 07:30 AM - Forum: General Coding Help - Replies (1)

   

Print this item

  Convert each element of a list to a string for processing
Posted by: tester_V - Jun-13-2021, 03:45 AM - Forum: General Coding Help - Replies (6)

Greetings!
I'm trying to remove a bunch of test files using 'glob'.
I thought I could do it like this:
[python]
prod_tod_to_Rem = glob.glob("C:/00..... More

Print this item

  Halting if command if gpio triggered event triggered
Posted by: knoxvilles_joker - Jun-13-2021, 03:28 AM - Forum: General Coding Help - Replies (7)

I am tweaking this code to get it ready for full integration into an animatronics costume setup. The individual pieces work. basically the GPIO trig..... More

Print this item

  Mapping a range
Posted by: ebolisa - Jun-12-2021, 07:41 PM - Forum: General Coding Help - Replies (5)

Hi,

I've an analog sensor which generates a voltage from 0 to 3.3. It's connected to a digital converter (ADC) which outputs a range from 0 to 4095..... More

Print this item

  Selenium innerHTML list, print specific value
Posted by: denis22934 - Jun-12-2021, 03:35 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

First of all, I'm new to working with Python, especially Selenium. So I connected to a page with the webdriver and also already grabbed the ..... More

Print this item

  Dice Roll (Find out how many rolls until specified streak)
Posted by: DustinKlent - Jun-12-2021, 12:21 PM - Forum: General Coding Help - Replies (4)

I am trying to figure out how many rolls of dice it would take to get a specified number of snake eye rolls. For instance if I want to get snake eyes ..... More

Print this item

  PIR help
Posted by: duckredbeard - Jun-12-2021, 11:15 AM - Forum: General Coding Help - Replies (2)

I have a Raspberry Pi that monitors my keg fridge's temperature, pressure, and weight of the three kegs. It sends that information to an Android tabl..... More

Print this item

  Flask: How to make this web page not reloading?
Posted by: Aguscao - Jun-12-2021, 07:38 AM - Forum: General Coding Help - No Replies

Hello, I am new to this forum, and I have searched any similar question but I didn't find one.
I have made a web page using Flask for connecting to Ra..... More

Print this item

  Plz trace this line by line
Posted by: Sure - Jun-12-2021, 02:54 AM - Forum: General Coding Help - Replies (2)

[python]#n natural number s
def func(q):
if q>0:
return func(q-1)
return q
elif q==0:
return 0

print(func(5))[/p..... More

Print this item

  "." to "," when writing to .txt
Posted by: Lullaby - Jun-11-2021, 11:10 PM - Forum: General Coding Help - Replies (8)

[python]import time
from datetime import datetime

DS18B20="/sys/bus/w1/devices/28-01204febab44/w1_slave"

while True:

now = datetime.now()
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Merge video with subtitle... 2 hours ago Pavel_47 Biks General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
Most views
  The best Prog... 580445
  Tutorial Requ... 519772
  Web Scraping ... 442789
  Newbie with P... 386997
  New Users Int... 386662
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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