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,932
» Latest member: XenonBlack
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

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

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: deanhystad
56 minutes ago
» Replies: 3
» Views: 887
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
10 hours ago
» Replies: 0
» Views: 55
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Today, 07:07 AM
» Replies: 1
» Views: 353
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,474
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,531
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 404
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 126
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,911
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,164
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 849

 
  Another Error message.
Posted by: the_jl_zone - Mar-06-2023, 09:50 PM - Forum: General Coding Help - Replies (2)

This one is from an assignment using graphics.

[python]
POOL_BALL_RADIUS = 40
FONT_TYPE = "30pt Arial"


# Write your function here that draws..... More

Print this item

  Fit straight line to pandas time series data with semilog plot
Posted by: schniefen - Mar-06-2023, 05:15 PM - Forum: Homework - Replies (2)

I have sets of data, which look like this:

   

I do the following:

[python]
df=pd.read_csv('data.csv')
timestamp_fields = ['Year', 'M..... More


Attached Files

Thumbnail(s)
   
Print this item

  Cleaning a dataset: How to extract text between two patterns
Posted by: Palke - Mar-06-2023, 05:13 PM - Forum: Data Science - No Replies

The datasets I collected for a research project are a bit of a mess right now. While scraping questions from GitHub I came across a problem I kind of ..... More

Print this item

  scraping webiste using pandas and googletranslation dont compile on the terminal
Posted by: gcozba2023 - Mar-06-2023, 04:49 PM - Forum: General Coding Help - Replies (2)

Hi Team

I need some help with my script, i am trying to scrap the website but when i try to use data frame to translate the text from the website i..... More

Print this item

  Q on classes
Posted by: ebolisa - Mar-06-2023, 03:17 PM - Forum: General Coding Help - Replies (4)

Hi,

I appreciate some help on this micropython code as I'm learning classes.

When I execute it, I get the error: [error]Error in sysc: function ..... More

Print this item

  googletrans library to translate text language for using data frame is not running
Posted by: gcozba2023 - Mar-06-2023, 09:50 AM - Forum: General Coding Help - No Replies

Hi Team

I have a script that two things one im using data frame to scrap website including title course and name, but when im tring to use data fra..... More

Print this item

  Python package not seen in VSCode
Posted by: fmccabe80 - Mar-05-2023, 10:05 PM - Forum: General Coding Help - Replies (6)

Good afternoon,

I am new to coding, Linux and VSCode.

System - Linux Mint 21.1
Using VSCode to write script
Trying to import Pandas, Numpy, Ta..... More

Print this item

  convert address and broadcast to network object
Posted by: Skaperen - Mar-05-2023, 08:22 PM - Forum: General Coding Help - Replies (9)

the ipaddress module API can convert a network object into the subnet base and broadcast addresses but i cannot find a means to do the reverse,..... More

Print this item

  Replacing values ​​in Mysql with a condition
Posted by: stsxbel - Mar-05-2023, 08:20 PM - Forum: General Coding Help - No Replies

Good evening everyone. Help in python to create a query in the Mysql database. Problem essence: There is a table, in it columns (Sil1 | Sil2 | Sil3) t..... More

Print this item

  Program running on RPi 3b+ Very Strange Behavior - Out of Bound Index
Posted by: MadMacks - Mar-05-2023, 07:05 PM - Forum: General Coding Help - Replies (26)

So, new to Python and still trying to learn the scope of variables. But, I have a small program that uses Bluetooth (BLE) to connect to a LiFePO4 batt..... More

Print this item

  Python 3.11 data import question
Posted by: love0715 - Mar-05-2023, 02:45 PM - Forum: General Coding Help - Replies (2)

Hello , i am SAS programmer in data analytics world. new to python .

I just downloaded Python 3.11 on my personal Windows laptop

Question on imp..... More

Print this item

  Failing regex, space before and after the "match"
Posted by: tester_V - Mar-05-2023, 05:43 AM - Forum: General Coding Help - Replies (6)

Greetings to those that do not sleep! Wink
[python]
I'm trying to get the line that goes like this:
Visual ID: Z2BB417600504 <-..... More

Print this item

  how to make bot that sends instagram auto password reset code
Posted by: kraixx - Mar-04-2023, 04:50 PM - Forum: General Coding Help - Replies (2)

How to make bot that sends instagram auto password reset code? It is a very important matter that I need to do immediately. How to write a bot that se..... More

Print this item

  Now if window is open or not
Posted by: delcencen - Mar-04-2023, 03:41 PM - Forum: GUI - Replies (5)

Hello
i try to build a programme with a root windows and other small windows (tk.scale).
In openCv there is the fonction IsOpen() to now if a camer..... More

Print this item

  Plot time series data
Posted by: schniefen - Mar-04-2023, 02:17 PM - Forum: Homework - Replies (3)

I have a long list of data looking like this:

   

Minute and Second are always zero since the data is the 1 hour average of a meas..... More

Print this item

  Copy only hidden files and folders with rsync
Posted by: Cannondale - Mar-03-2023, 11:53 PM - Forum: General Coding Help - Replies (2)

New to Python but not to coding.

I would like to copy only the hidden files and folders in my home directory with rsync from a Python script.
The..... More

Print this item

  Fail install package using pip
Posted by: ez_daniel - Mar-03-2023, 10:47 PM - Forum: Networking - Replies (5)

Hi,

I'm new for Python. I'm on Windows 10 and have Python 3.11.2. I try to install package named as 'requests', by command #pip install requests...... More

Print this item

  What Is this Error?
Posted by: the_jl_zone - Mar-03-2023, 08:51 PM - Forum: General Coding Help - Replies (5)

I have been working on a little graphics presentation using Python that has a ball that bounces up and down using while loops and timers. But for some..... More


Attached Files

Thumbnail(s)
               
Print this item

  The included URLconf 'scribimus.urls' does not appear to have any patterns in it.
Posted by: nengkya - Mar-03-2023, 08:29 PM - Forum: General Coding Help - No Replies

[Help]

raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e

django.core.exceptions.ImproperlyConfigured: The included URLconf '..... More

Print this item

Exclamation NameError: name 'score' is not defined - Help?
Posted by: MrKnd94 - Mar-03-2023, 12:48 PM - Forum: Homework - Replies (13)

Hi,

I'm going to be blunt, I'm here, helping out another student, and I need help. The error is in the title, and here's the code:

[python]def l..... More

Print this item

  Asking users to create keyboard shortcuts
Posted by: Gribouillis - Mar-03-2023, 11:45 AM - Forum: News and Discussions - No Replies

I'm writing the best Latex generating Python program ever, but I'm using special characters that you plobably don't have natively on your keyboard lay..... More

Print this item

  package script cant find sibling script when executed from outside
Posted by: Bock - Mar-03-2023, 10:20 AM - Forum: General Coding Help - Replies (3)

Hello together,
i just finished my first own package but facing a problem when importing and executing things from outside:
I made a very minimal exam..... More

Print this item

  PyScaffold --Pro's and Con's
Posted by: Larz60+ - Mar-02-2023, 11:07 PM - Forum: Bar - No Replies

Curious who's using PyScaffold to set up projects, if anyone, as I can't find much on forum.
I have never used it, but curious if I should give it a ..... More

Print this item

  pySerial .read()
Posted by: mike_zah - Mar-02-2023, 04:09 PM - Forum: General Coding Help - Replies (4)

I'm using pySerial in my program and have a question regarding the .read(). Basically I have a loop that monitors .inWaiting(). When there is NOT ZERO..... More

Print this item

  Read csv file using Pandas in Django
Posted by: Sedlis - Mar-02-2023, 09:29 AM - Forum: News and Discussions - No Replies

Hello everyone,
Please I need advice from you. I trying read csv file using Pandas in Django. I need read whole file and also need read (find) on..... More

Print this item

  Pymodbus read and save to database
Posted by: stewietopg - Mar-02-2023, 07:22 AM - Forum: General Coding Help - Replies (3)

Hello,

in our company we will install multiple energy meters (abb m4m ethernet 20). This energy meter works via modbus tcp/ip.

I have a working ..... More

Print this item

  Using BeautifulSoup And Getting -1 Results
Posted by: knight2000 - Mar-02-2023, 07:02 AM - Forum: Web Scraping & Web Development - Replies (10)

Hi all,

I thought I would give a go in trying to extract all the H2 Headers and H3 Headers from a webpage and used the following code:

[python]..... More

Print this item

Question Running an action only between certain times
Posted by: alexbca - Mar-02-2023, 01:29 AM - Forum: General Coding Help - Replies (9)

I'm running a basic python program on a raspberry pi with an input connected to a pair of outdoor infrared beams. When the beams are crossed, a notifi..... More

Print this item

  global varname
Posted by: Skaperen - Mar-01-2023, 11:39 PM - Forum: General Coding Help - Replies (6)

i have many (~100) functions in a big file. most functions need to write a single global variable named varname. i can make this wo..... More

Print this item

  I am scraping a web page but got an Error
Posted by: Sarmad54 - Mar-01-2023, 09:09 PM - Forum: Web Scraping & Web Development - Replies (3)

I am trying to apply a program for scaping a webpage but the program was not executed sussfully. I am getting the error:

[error]IndexError: list in..... More

Print this item

  Thread Limits . . .
Posted by: JohnnyCoffee - Mar-01-2023, 02:00 AM - Forum: General Coding Help - Replies (10)

On a computer with only (1 CPU), how many threads can I run at the same time in the python process ?

Print this item

  Generate lists of devices and partitions from /proc/partitions?
Posted by: DachshundDigital - Feb-28-2023, 09:53 PM - Forum: General Coding Help - Replies (1)

Generate list of devices and partitions, which includes blocks and names, from /proc/partitions?

For example this...

# cat /proc/partitions
17..... More

Print this item

  [ESP32 Micropython]Total noob here, I don't understand why this while loop won't run.
Posted by: wh33t - Feb-28-2023, 05:28 PM - Forum: General Coding Help - Replies (9)

I just went to turn the Wifi chip on, and scan to see which wifi networks are available.

[python]
# wifi_test.py
import machine
impo..... More

Print this item

  [split] How to access previous row using itertuples
Posted by: newoptionz - Feb-28-2023, 02:03 PM - Forum: General Coding Help - Replies (1)

I'm trying to update ta row's column based on the previous row's column's value.

Like the following

[python]
d = {'col1': ['A', 'B', 'C', 'D']..... More

Print this item

  an object like a dictionary except ...
Posted by: Skaperen - Feb-27-2023, 06:09 PM - Forum: News and Discussions - Replies (1)

is it possible to create an object that works like a dict (e.g. can be indexed by any hashable key) but an internal method is called for fetching and ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 56 minutes ago RonR deanhystad GUI
  How Reliable Is Assignmen... 10 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... Today, 07:07 decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575828
  Tutorial Requ... 497122
  Web Scraping ... 439836
  Newbie with P... 383539
  New Users Int... 365446
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 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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