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,393
» Latest member: aurelio12282025
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 26 Guest(s)
Applebot, Bing, Google

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 73
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 237
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,071
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,897
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 139
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 85
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 152
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,297
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 113
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 757

 
  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

Lightbulb What's happening here?
Posted by: jesse68 - Feb-27-2023, 03:59 PM - Forum: General Coding Help - Replies (3)

Hi, I'm not understanding what's happening here?

print ( int('101', 2))
# Equals 5
However...

[python]print ( int('101))..... More

Print this item

  GPX and XML parsing
Posted by: Adriaan - Feb-27-2023, 01:14 PM - Forum: General Coding Help - Replies (7)

Gents I am new here and hobby python developer. Now I am trying to read a gpx file for mij OpenCPN.
I cannot get to the data in de nested namespace. ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 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
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580378
  Tutorial Requ... 519155
  Web Scraping ... 442771
  Newbie with P... 386955
  New Users Int... 386299
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
aurelio12282025 Today
bejaminmaarleyo1374 Today
taylorlitleoz476 Today
desy845 Today
atalieyandext4063 Yesterday

User Panel Messages

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