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,251
» Latest member: ftk456
» Forum threads: 38,780
» Forum posts: 175,824

Full Statistics

Online Users
There are currently 37 online users.
» 2 Member(s) | 28 Guest(s)
Bing, Google, Internet Archive, Facebook, Axel_Erfurt

Latest Threads
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
4 minutes ago
» Replies: 6
» Views: 313
New to python and coding
Forum: Homework
Last Post: lary_p
4 hours ago
» Replies: 5
» Views: 143
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 91
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 224
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 351
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 135
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,636
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 231
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 223
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,680

 
  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

  Calculator code issue using list
Posted by: kirt6405 - Jun-11-2021, 09:46 PM - Forum: General Coding Help - Replies (4)

The problem is that when I choose / and input 5 and 0 (2nd number as 0) it is giving 0.0 but not printing the divisior is zero


[python]
#!/usr/b..... More

Print this item

  InvalidSchema(“No connection adapters were found for {!r}”.format(url))
Posted by: rhat398 - Jun-11-2021, 08:40 PM - Forum: Web Scraping & Web Development - No Replies

What does this error means and how to address this kind of error?I am getting this error

[error]Traceback (most recent call last):
File "load-mo..... More

Print this item

  Remove label after x seconds
Posted by: snakes - Jun-11-2021, 07:10 PM - Forum: GUI - Replies (3)

I've got a Label that pops up saying "Saved" after the user presses the "Save" button.

Is there any way to make this "Saved" Label disappear after ..... More

Print this item

  Error while transferring data from sqlite to elasticsearch - please help!
Posted by: ps96068 - Jun-11-2021, 05:32 PM - Forum: General Coding Help - Replies (1)

Hello to all members of the forum

There is a script that takes data from the db.sqlite database and transfers it to the elasticsearch database, whi..... More

Print this item

  Encrypting Oracle Passwords / Python Library for That?
Posted by: bmccollum - Jun-11-2021, 04:09 PM - Forum: General Coding Help - Replies (1)

I have numerous Python scripts that have been written over the past several years. Many of those interact with several Oracle databases in our office..... More

Print this item

  How to save Matplot chart to temp file?
Posted by: Morkus - Jun-11-2021, 02:16 PM - Forum: General Coding Help - Replies (2)

Can anyone tell me how I can save a Matplotlib chart to a temporary file I create using

tempfile.NamedTemporaryFile()
?

I can't use..... More

Print this item

  FileNotFoundError: [Errno 2] No such file or directory: 'model/doc2vec.model/Articles
Posted by: Anldra12 - Jun-11-2021, 09:57 AM - Forum: General Coding Help - Replies (10)

[b]I make directory and sub directory in the same project to train and fit my model still get an error
FileNotFoundError: [Errno 2] No such file or..... More

Print this item

  New Advanced SQLAlchemy tutorial Added
Posted by: Larz60+ - Jun-11-2021, 02:34 AM - Forum: News and Discussions - No Replies

I just added a new tutorial 'SQLAlchemy Dynamic model generation and Database load directly from CSV'[/[url=https://python-forum.io/thread-33933.html]..... More

Print this item

  SQLAlchemy Dynamic model generation and Database load directly from CSV
Posted by: Larz60+ - Jun-11-2021, 02:26 AM - Forum: Tutorials - No Replies

Create an Airport Database using SQLAlchemy, with Dynamic Model Generation, Directly from CSV data

[b]EDIT Nov 22, 2021 - Fo..... More


Attached Files

Thumbnail(s)
   
Print this item

  Trying to get base64Encoded Matplotlib Data
Posted by: Morkus - Jun-10-2021, 06:58 PM - Forum: General Coding Help - No Replies

Hello,

I have a matplotlib figure that I want to return as a base64Encoded variable so it can be stored as a blob object. This variable would be th..... More

Print this item

  Aggregating CSV Data
Posted by: nb1214 - Jun-10-2021, 05:15 PM - Forum: General Coding Help - Replies (1)

I have a CSV file that I will be working with, and it contains a lot of data, and two of the columns are "Company Name" and "Sales". I would like to ..... More


Attached Files

.csv   Data Python (version 1).csv (Size: 292 bytes / Downloads: 468)
Print this item

Question Embedding a python file online
Posted by: Dreary35 - Jun-10-2021, 05:05 PM - Forum: General Coding Help - No Replies

I was wondering if there is a way I could embed a .py file online. I want to participate in the GMTK jam but I want to use pygame for it so I w..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Backward compatibility qu... 4 minutes ago yutaozhou noisefloor News and Disc...
  New to python and coding 4 hours ago lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 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...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578910
  Tutorial Requ... 510105
  Web Scraping ... 441936
  Newbie with P... 385951
  New Users Int... 376680
Most reputation
buran 581
snippsat 510
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 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday
Kacper 11-11

User Panel Messages

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