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,392
» Latest member: bejaminmaarleyo1374
» Forum threads: 38,822
» Forum posts: 176,019

Full Statistics

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

Latest Threads
How Much Does The New Iph...
Forum: General Coding Help
Last Post: bejaminmaarleyo1374
13 minutes ago
» Replies: 0
» Views: 5
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 70
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 235
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,070
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,894
[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: 83
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 151
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: 111

 
  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: 292)
.csv   Donnees_prod_table.csv (Size: 172 bytes / Downloads: 242)
.py   OGP_ExoProdVerres.py (Size: 3.68 KB / Downloads: 278)
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

  Impementing a client that connects to the server
Posted by: input - Feb-23-2023, 11:59 AM - Forum: News and Discussions - No Replies

I don't know if this is the good place to ask my question but I have some problems installing the Python module socketio in Windows 10.

I have this..... More

Print this item

  search file by regex
Posted by: SamLiu - Feb-23-2023, 11:18 AM - Forum: General Coding Help - Replies (1)

Hi all,

Search specific string name file in folder. How to config regular match.

folder include files as below:
Check_noise#3_P020_20211220_094..... More

Print this item

  List all possibilities of a nested-list by flattened lists
Posted by: sparkt - Feb-23-2023, 06:46 AM - Forum: General Coding Help - Replies (1)

S = [['he', 'she'], 'has', ['1', '2'], 'watch']

A list inside the list S indicates a possibility of a statement.
So there are four possibilities ..... More

Print this item

  Queuing Theory in Python
Posted by: NOLA_Saints - Feb-22-2023, 11:42 PM - Forum: General Coding Help - No Replies

I work for a contact center that has used Erlang for our capacity planning for some time now. However, we have found that Erlang can be incredibly unr..... More

Print this item

  Library scope
Posted by: mike_zah - Feb-22-2023, 11:09 PM - Forum: General Coding Help - Replies (2)

I've written a program that uses the SERIAL library. The program seems to work just fine. I have a question about the scope of the methods, such as se..... More

Print this item

  How to create a plot with line graphs and vertical bars
Posted by: devansing - Feb-22-2023, 08:14 PM - Forum: Data Science - Replies (6)

Hi,

I am trying to figure out how to create a graph similar to the following:

[Image: LHt8r.png]

where the x axi..... More


Attached Files

.csv   sample_data.csv (Size: 1.69 KB / Downloads: 5)
.py   recession_graph.py (Size: 599 bytes / Downloads: 3)
Print this item

  I cannot able to see output of this code
Posted by: ted - Feb-22-2023, 08:06 PM - Forum: General Coding Help - Replies (1)

[python]import sqlite3

conn = sqlite3.connect('emaildb.sqlite')
cur = conn.cursor()
cur.execute('DROP TABLE IF EXISTS Counts')
cur.execute('CREA..... More


Attached Files

Thumbnail(s)
   
Print this item

  Cannot find py credentials file
Posted by: standenman - Feb-22-2023, 06:58 PM - Forum: General Coding Help - Replies (5)

I have run this code successfully and now it has stopped. I simply do not understand what is going on.

[python]from adobe.pdfservices.operation.au..... More

Print this item

  tuple indices must be integers or slices, not str
Posted by: cybertooth - Feb-22-2023, 06:18 PM - Forum: General Coding Help - Replies (16)

I am trying to make a Tkinter GUI with PyMuPDF. however I am geting the error[error]Traceback (most recent call last):
File "C:\Users\INDIAN\Deskt..... More

Print this item

  Cannot get started
Posted by: standenman - Feb-22-2023, 03:05 PM - Forum: General Coding Help - Replies (4)

I cannot get started with my python project. I have installed python311 and I have included the path in my environmental variables. In command promp..... More

Print this item

  connecting to FTPS server help
Posted by: tfboy - Feb-22-2023, 10:02 AM - Forum: General Coding Help - Replies (2)

First post here so I hope I've put everything I need. Thanks in advance!

I'm new to Python and trying to get my head around some basics.
I have a ..... More

Print this item

  string index
Posted by: DPaul - Feb-22-2023, 08:00 AM - Forum: Bar - No Replies

Hi,
Tesseract has a few methods to OCR prayer cards, and for a particular type of document,
I need to use a combination of two methods. It presents a ..... More

Print this item

  I am confused with the key and value thing
Posted by: james1019 - Feb-22-2023, 04:46 AM - Forum: General Coding Help - Replies (3)

[python]responses = {}
polling_active = True

while polling_active:
name = input("\nWhat is your name? ")
response = input("Which mountai..... More

Print this item

  Python venv and PIP version issue
Posted by: JanOlvegg - Feb-21-2023, 08:06 PM - Forum: General Coding Help - Replies (2)

My work computer runs windows and I do not have admin rights. The computer however does allow install of Python using the company's package manager. T..... More

Print this item

  Need help with creating dynamic columns with for loops for stock prices
Posted by: PaDat - Feb-21-2023, 07:27 PM - Forum: General Coding Help - Replies (2)

Dear All,

I have a bunch of stock prices (about 100) and I want to dynamically compute their moving average, daily returns etc and have them in 1) ..... More

Print this item

  Node Flow Generation in Python
Posted by: Linenloid - Feb-21-2023, 07:09 PM - Forum: General Coding Help - No Replies

Hey all,

I was working on a project (code included). I wanted to simulate the flow of several nodes. Each node can go to several other nodes. This ..... More

Print this item

  Fill PDF and merge with another PDF
Posted by: CoPython - Feb-21-2023, 11:51 AM - Forum: General Coding Help - No Replies

Good day,

I'm still new and I also realize that some codes could really be easier. I'm still trying out the python part and learning more about it...... More

Print this item

  Looking for an IDE
Posted by: StevenT - Feb-21-2023, 10:53 AM - Forum: News and Discussions - Replies (1)

I will be doing some electrical simulations and plotting the results. I want a GUI for input and output.

I am considering Spyder.

Print this item

  Why does graph look different in Codecademy and Jupyter Notebook
Posted by: abc123456 - Feb-21-2023, 09:58 AM - Forum: Data Science - Replies (1)

It's part of Codecademy's premium content so I can't post the entire code but in their software I produce a graph that looks like this:

[img]https:..... More

Print this item

  need help rounding
Posted by: joseph202020 - Feb-21-2023, 06:23 AM - Forum: General Coding Help - Replies (7)

How do I round the float in last line to 2 places = x.xx instead of x.xxxxxxxxxx
it won't do it most of the time but it will with certain entered c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Much Does The New Iph... 13 minutes ago bejaminmaarleyo1374 bejaminmaarleyo1374 General Codin...
  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...
Most views
  The best Prog... 580374
  Tutorial Requ... 519138
  Web Scraping ... 442771
  Newbie with P... 386955
  New Users Int... 386289
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
bejaminmaarleyo1374 Today
taylorlitleoz476 Today
desy845 Today
atalieyandext4063 Yesterday
finallen321 Yesterday

User Panel Messages

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