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,540
» Latest member: melissareed
» Forum threads: 38,665
» Forum posts: 175,206

Full Statistics

Online Users
There are currently 411 online users.
» 2 Member(s) | 401 Guest(s)
Applebot, Bing, Google, Baidu, Yandex, Mojeek, woefdram, duckredbeard

Latest Threads
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: duckredbeard
3 minutes ago
» Replies: 2
» Views: 36
How to package code for d...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 1
» Views: 41
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 1
» Views: 43
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
9 hours ago
» Replies: 8
» Views: 55,218
A penny doubled every day...
Forum: Homework
Last Post: walterliz
10 hours ago
» Replies: 6
» Views: 687
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
10 hours ago
» Replies: 3
» Views: 1,191
While loop is terminating...
Forum: Homework
Last Post: walterliz
10 hours ago
» Replies: 3
» Views: 423
Custom Sorting List of Di...
Forum: Homework
Last Post: walterliz
10 hours ago
» Replies: 3
» Views: 193
Unable to define function...
Forum: Homework
Last Post: walterliz
10 hours ago
» Replies: 2
» Views: 63
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:14 AM
» Replies: 6
» Views: 676

 
  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

  Some help with picamera ROI setting?
Posted by: korenron - Feb-27-2023, 12:54 PM - Forum: Data Science - Replies (3)

Hello,
I'm trying to take a picture and zoom it ,using camera.zoom
[python]zoom
Retrieves or sets the zoom applied to the camera’s input.

When ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  gpiozero buttons stop wor... 3 minutes ago duckredbeard duckredbeard General Codin...
  How to package code for d... 4 hours ago mayukun noisefloor General Codin...
  pip3 install certifi fail... 8 hours ago rb9594 Pedroski55 General Codin...
  My first python game : Ti... 9 hours ago ForsakenDusk walterliz Game Developm...
  A penny doubled every day... 10 hours ago esoyboy walterliz Homework
  Exercise on reading a chu... 10 hours ago Nit_Picker walterliz Homework
  While loop is terminating... 10 hours ago jumpsworthnow walterliz Homework
  Custom Sorting List of Di... 10 hours ago aryasinner walterliz Homework
  Unable to define function... 10 hours ago gmonroe walterliz Homework
  RemoTe server operation w... Yesterday, 10:14 mario17 snippsat General Codin...
  Qt Event Filtering Yesterday, 09:36 deanhystad deanhystad GUI
Most views
  The best Prog... 572691
  Tutorial Requ... 485721
  Web Scraping ... 437147
  Newbie with P... 380098
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7352
deanhystad 6858
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
melissareed Today
Rolas Today
mayukun Today
richardkrt Today
SAHIL54554 Today

User Panel Messages

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