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,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

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

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 4
» Views: 101
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 97
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 71
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 107
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,068
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,364
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,556
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 187
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,196
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,442

 
  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

  Multiprocessing
Posted by: DPaul - Feb-25-2023, 07:12 AM - Forum: Bar - Replies (3)

Hi,
Thanks to info gathered on this site, we have been able to speed up OCR activities considerably.
We have processed over 320.000 documents in a mon..... More

Print this item

  Video recording with Raspberry Pi - What´s wrong with my python code?
Posted by: Montezuma1502 - Feb-24-2023, 03:39 PM - Forum: General Coding Help - Replies (3)

Dear everyone,

for an ecological study I recorded insects in front of a nesting aid with a Raspberry Pi. I wrote a simple python code to do this w..... More

Print this item

  The INSERT permission was denied on the object
Posted by: Steven5055 - Feb-24-2023, 12:42 AM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to use Python to insert data into a SQL Server. pyodbc
I'm basically using python to export data from Server1 & Import into Server 2...... More

Print this item

Question Linear Programming Problem
Posted by: Axel_LF - Feb-23-2023, 10:59 PM - Forum: General Coding Help - No Replies

Hello everyone,

I am currently learning how to use Python to solve linear programming problems.

I wrote an algorithm to calculate the quantities pro..... More


Attached Files

.csv   Demande_table.csv (Size: 375 bytes / Downloads: 280)
.csv   Donnees_prod_table.csv (Size: 172 bytes / Downloads: 229)
.py   OGP_ExoProdVerres.py (Size: 3.68 KB / Downloads: 264)
Print this item

  Problem with virtual environment
Posted by: standenman - Feb-23-2023, 06:35 PM - Forum: General Coding Help - Replies (2)

I think I have failed to set up my virtual environment correctly. I am now unable to access any pip installed packages. I have the following direc..... More

Print this item

  Array dimension don't match
Posted by: asja2010 - Feb-23-2023, 04:21 PM - Forum: General Coding Help - No Replies

Hey, I have this set of data:

[python]Date
2022-01-05 -0.012684 -0.011469 -0.013368 -0.004848
2022-01-0..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 3 hours ago Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [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...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578684
  Tutorial Requ... 509143
  Web Scraping ... 441841
  Newbie with P... 385794
  New Users Int... 375068
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07
EchoFlowar3Dip 11-07

User Panel Messages

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