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,932
» Latest member: XenonBlack
» Forum threads: 38,721
» Forum posts: 175,502

Full Statistics

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

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: RonR
5 hours ago
» Replies: 2
» Views: 874
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
8 hours ago
» Replies: 0
» Views: 50
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Today, 07:07 AM
» Replies: 1
» Views: 353
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,460
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,525
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 392
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 123
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,900
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,154
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 840

 
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: 269)
.csv   Donnees_prod_table.csv (Size: 172 bytes / Downloads: 219)
.py   OGP_ExoProdVerres.py (Size: 3.68 KB / Downloads: 255)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 5 hours ago RonR RonR GUI
  How Reliable Is Assignmen... 8 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... Today, 07:07 decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575823
  Tutorial Requ... 497103
  Web Scraping ... 439832
  Newbie with P... 383532
  New Users Int... 365424
Most reputation
buran 581
snippsat 508
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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