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,471
» Latest member: iloveimg3
» Forum threads: 38,578
» Forum posts: 174,808

Full Statistics

Online Users
There are currently 763 online users.
» 0 Member(s) | 761 Guest(s)
Google, Yandex

Latest Threads
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 221
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 172
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,352
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 126
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 430
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,237
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
May-14-2025, 09:04 AM
» Replies: 1
» Views: 381
Pip help
Forum: General Coding Help
Last Post: Larz60+
May-14-2025, 05:57 AM
» Replies: 4
» Views: 463
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
May-14-2025, 01:12 AM
» Replies: 2
» Views: 1,013
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 291

 
  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

  Build a dict with class syntax
Posted by: Gribouillis - Feb-27-2023, 09:22 AM - Forum: Code sharing - Replies (1)

Using a metaclass, it is easy to distort the class syntax to produce just a dictionary. This could be especially useful to create dictionaries of func..... More

Print this item

  Insert CSV - GUI Window
Posted by: Prasanjith - Feb-27-2023, 06:32 AM - Forum: General Coding Help - Replies (3)

Hi All,

I'm new to this pyhton world.I have a small work to do as in the attached picture.

In a GUI window it must show the Excel file "CSV file" by..... More


Attached Files

Thumbnail(s)
   
Print this item

  Read the Processor . . .
Posted by: JohnnyCoffee - Feb-26-2023, 07:14 PM - Forum: General Coding Help - Replies (1)

Hello
I'm using the platform module with the function ( machine ), which returns the architecture of the processor, but I need to know how many ( Cor..... More

Print this item

  My first project as a beginner
Posted by: lil_e - Feb-26-2023, 04:58 PM - Forum: General Coding Help - Replies (4)

Hi.

I'm trying to learn Python by reading the book called "Automate the boring stuff", and have written my first project which I have copied from ..... More

Print this item

  Polyhedral Dice Problem
Posted by: DaCodingSpider - Feb-25-2023, 09:45 PM - Forum: Homework - Replies (4)

I get these PowerPoints based around certain python coding subjects, it gives us a basic tutorial and then gives us prompts to solve. I tried to make ..... More

Print this item

  Can I get some clarification on importing functions from external files.
Posted by: wh33t - Feb-25-2023, 06:40 PM - Forum: General Coding Help - Replies (3)

I'm familiar with programming syntax and constructs but very new to Python. I am trying to figure out how to modularize some functions into separate f..... More

Print this item

  Impementing a client that connects to the server
Posted by: input - Feb-25-2023, 09:05 AM - Forum: Code sharing - No Replies

I have a cllient and webserver running but when connecting I receive a 404:not found error.
[python]
import socketio
sio = socketio.Client()
@sio...... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help 05-14, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... 05-14, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
Most views
  The best Prog... 564961
  Tutorial Requ... 454906
  Web Scraping ... 429926
  Newbie with P... 365705
  Thread remain... 338015
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
iloveimg3 Yesterday
ishaD Yesterday
fitobar43 Yesterday
AymanNassar 05-16
Shailesh 05-15

User Panel Messages

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