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,467
» Latest member: Aymen
» Forum threads: 38,569
» Forum posts: 174,770

Full Statistics

Online Users
There are currently 768 online users.
» 1 Member(s) | 761 Guest(s)
Google, Bing, Applebot, Yandex, Mojeek, Skaperen

Latest Threads
where variable arguments ...
Forum: News and Discussions
Last Post: Skaperen
Less than 1 minute ago
» Replies: 0
» Views: 1
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
6 hours ago
» Replies: 10
» Views: 540
[Python] Issue of Adding ...
Forum: General Coding Help
Last Post: Aymen
7 hours ago
» Replies: 0
» Views: 65
Review of a ping tool mad...
Forum: Code Review
Last Post: Axel_Erfurt
7 hours ago
» Replies: 1
» Views: 80
ModuleNotFoundError: No m...
Forum: General Coding Help
Last Post: Wimpy_Wellington
7 hours ago
» Replies: 3
» Views: 3,374
Monitor Computer Internal...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:52 AM
» Replies: 3
» Views: 212
total Noob question: Why ...
Forum: General Coding Help
Last Post: deanhystad
May-09-2025, 06:15 PM
» Replies: 5
» Views: 267
robocopy question
Forum: Bar
Last Post: Amilia
May-09-2025, 03:07 PM
» Replies: 4
» Views: 1,783
Noob programmer - game of...
Forum: Homework
Last Post: russellbeckwith
May-09-2025, 08:37 AM
» Replies: 4
» Views: 1,487
How to use isintance with...
Forum: General Coding Help
Last Post: buran
May-08-2025, 01:22 PM
» Replies: 3
» Views: 347

 
  Beginner stuck in Python book for kids
Posted by: mic81k - Nov-22-2023, 10:03 AM - Forum: General Coding Help - Replies (11)

Hi,
100% beginner.
We bought this book called "Computer coding: Python Games for Kids".
It's supposed to teach Python in a simple and fun way.

..... More

Print this item

  Grades Code":
Posted by: Anthony - Nov-22-2023, 03:58 AM - Forum: Homework - Replies (14)

I'm new to Python and can't figure out what is wrong with this code?

[python]print("please enter your 5 marks below")

#read 5 inputs
mark1 = in..... More

Print this item

Question Sonar Code in Thonny for Pi Pico
Posted by: iansmiler - Nov-21-2023, 10:20 PM - Forum: General Coding Help - Replies (1)

Hello - I have written the code below which works well with my hardware. I want to use the 'distance' variable that I have set in 'def Ultra', outside..... More

Print this item

  Get file description
Posted by: Raysz - Nov-21-2023, 09:43 PM - Forum: General Coding Help - Replies (2)

[quote]
I have the small code here, as it stands right now it works perfectly

What I'm trying to do is to get it to stop looking at program = r'\c..... More

Print this item

  Prime number detector
Posted by: Mark17 - Nov-21-2023, 07:41 PM - Forum: General Coding Help - Replies (5)

This is not printing what I expect so hopefully someone can point out what I'm not understanding.

[code]
for i in range(2,101): #prime number dete..... More

Print this item

  Energy optimization with pulp
Posted by: MartinRK80 - Nov-21-2023, 03:40 PM - Forum: Data Science - No Replies

I'm trying to create my first LP simulation but I have some problem with it.

This is my code:
[python]import pulp

# Define the optimization problem ..... More

Print this item

  Unexpected output
Posted by: Starter - Nov-21-2023, 12:45 PM - Forum: General Coding Help - Replies (2)

Hi all,
I am new to this forum and i am learning python coding. I tried to upload .CSV file from my computer with the following code but i am getting..... More

Print this item

  graphyview setdata() doesn't work after recieving a mount of data
Posted by: ugly_curry_garlic - Nov-21-2023, 12:13 PM - Forum: GUI - Replies (3)

Sorry about my bad English
I designed UI with UIdesigner, and I wrote four threads to handle the interface, serial port, calculation and draw..... More

Print this item

  problem in matching in regex
Posted by: akbarza - Nov-21-2023, 08:15 AM - Forum: General Coding Help - Replies (1)

hi
the below code was created by and copied from the site: regex101.com and I changed some of it:
[python]# This code is copied from 'regex101.com'..... More

Print this item

  Sigma not being passed and evaluated as tuple, despite a lot of debugging
Posted by: remiau2 - Nov-20-2023, 09:29 PM - Forum: Data Science - Replies (1)

Hi im getting this error:
[error]Traceback (most recent call last):
File "C:\Users\nitro-pc\AppData\Local\Packages\PythonSoftwareFoundation.Python..... More

Print this item

  KeyError while retrieving ESPN data
Posted by: john317ab - Nov-20-2023, 09:13 PM - Forum: General Coding Help - Replies (2)

I'm a novice to python3, but a former developer. I've installed python3 on my MacBook Pro and I've accessed ESPN Fantasy Football database via Termin..... More

Print this item

  timer strange ?
Posted by: trix - Nov-20-2023, 07:24 PM - Forum: General Coding Help - Replies (4)

hello,
i,am busy to adjust the code from a libary (micropython-stepper 1.0.3),
to do the things witch i want it to do (acc & decc).
no i see that the ..... More

Print this item

  Python, Salesforce and WordPress
Posted by: arthurk88 - Nov-20-2023, 04:33 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

My organization is interested in displaying real-time Salesforce data (graphs and charts) on our WordPress website for the public (no Salesf..... More

Print this item

  Div Class HTML selector in Python
Posted by: Artur - Nov-20-2023, 03:36 PM - Forum: Web Scraping & Web Development - Replies (1)

Dears ,

i'm an iniciante in python and i'm working in a project to find a selector in HTML website

I'm using this structure as per below howeve..... More


Attached Files

Thumbnail(s)
   

.txt   Error Python.txt (Size: 1.18 KB / Downloads: 144)
Print this item

Star My long text editor project
Posted by: Arielp2 - Nov-20-2023, 03:04 PM - Forum: Code sharing - No Replies

Hi guys,
I've been working on a text editor (when I was able to) for more than a year,
it's not completely finished but it is [..... More


Attached Files

Thumbnail(s)
   
Print this item

  Help Running Python Script in Mac OS
Posted by: emojistickers - Nov-20-2023, 01:58 PM - Forum: General Coding Help - No Replies

Disclaimer: I am not a coder Cry

I need to run this script https://github.com/akfreas/emoji-extractor-plus on a Mac running macOS Sonoma 14...... More

Print this item

  time difference bettwenn logs
Posted by: enkliy - Nov-20-2023, 09:25 AM - Forum: General Coding Help - Replies (14)

Hello,
I have a log file in txt. lets say

<150>Nov  7 07:38:33 DrayTek: Local User (MAC=B0-8C-75-C0-FF-8F): 172.16.91.7:57418 -> 17.57.172.11:443 ..... More

Print this item

  hi need help to make this code work correctly
Posted by: atulkul1985 - Nov-20-2023, 07:24 AM - Forum: General Coding Help - Replies (5)

hi need help to make this code work correctly
Please excuse me if its too simple problem to ask on this tread but i am beginner and very basic learn..... More

Print this item

  Sample random, unique string pairs from a list without repetitions
Posted by: walterwhite - Nov-19-2023, 05:03 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

This is my first post on this forum so please bear with me. At the very beginning I'd like to let you know that I'm a complete rookie ..... More

Print this item

  Basic Coding Question: Exit Program Command?
Posted by: RockBlok - Nov-19-2023, 04:05 PM - Forum: General Coding Help - Replies (3)

Could anyone provide feedback on the preferred way to terminate a program?

A Google search suggested that there are 3 basic ways to terminate a pro..... More

Print this item

  difference between != and is not
Posted by: akbarza - Nov-18-2023, 06:23 PM - Forum: General Coding Help - Replies (1)

hi
I wrote the below code in vs code and it took an error in line 7 but in idle the code ran okay:
[python] '''a test for regex
'''

import re
..... More

Print this item

  Automate screenshots taking and paste it to a web form
Posted by: isanka888 - Nov-18-2023, 03:01 PM - Forum: General Coding Help - No Replies

Hi Good people. I have a manual process that I would like to automate using Python. Below are the steps
1. I have a Gsheet opened and active in my br..... More

Print this item

  Is it possible to use the full potential of scalene in Pycharm?
Posted by: arnoldpredator - Nov-18-2023, 08:21 AM - Forum: General Coding Help - Replies (4)

Hello folks,

I see that scalene is included in Pycharm community edition.

I wrote a program and I executed it from the terminal. It worked and ..... More

Print this item

  Goal Seek
Posted by: tdutcher05 - Nov-17-2023, 10:26 PM - Forum: General Coding Help - Replies (1)

Hello every body , I am trying to replicate the goal seek function in excel . I have 5 formulas that have the same 4 variables that we need to solve ..... More

Print this item

Question Why The maximum amount of images for signatures is 1 ?
Posted by: SpongeB0B - Nov-17-2023, 06:34 PM - Forum: Board - Replies (1)

Hi everyone,

I wanted to update my signature.

but I got the following msg [quote="python-forum.io"]The maximum amount of images for signatures i..... More

Print this item

  Lidar in python - Quaternions, Angular Velocity, Linear Accelleration?
Posted by: jttolleson - Nov-17-2023, 06:22 PM - Forum: General Coding Help - Replies (2)

Hello all: Jayson Here; and I have struggled with getting lidar implemented in python, now i have struck gold with my new UniTree lidar. It reads me d..... More

Print this item

  Create your own Podcast with expensive equipment
Posted by: rajtilakjee - Nov-17-2023, 06:18 PM - Forum: Code sharing - No Replies

I have created an app called KeepYourMouthShut that can take care of everything for creating a podcast from scratch. KeepYourMouthShut provides a 360-..... More

Print this item

  python not detected on computer
Posted by: adriennn - Nov-17-2023, 02:39 PM - Forum: General Coding Help - Replies (3)

Hi, sorry for the thread, I just haven't found any solution anywhere and I'm getting kind of desperate.

For context, I'm a sociology student with n..... More

Print this item

  Arithematic average
Posted by: deferender - Nov-17-2023, 10:58 AM - Forum: Homework - Replies (7)

I try it:

I create a variable average whose value is the arithmetic mean of num_a and num_b.

What is wrong my code? Is not work.


[python]
..... More

Print this item

  Voxel to pixel graphics
Posted by: voicemail - Nov-17-2023, 09:08 AM - Forum: General Coding Help - Replies (3)

Hi, new to python here. I'm trying to make a voxel game that has an orthographic camera, in which 1 pixel = 1 voxel. I made a really slow ray marching..... More


Attached Files

.py   test1.py (Size: 2.42 KB / Downloads: 172)
Print this item

  ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE.
Posted by: subbanaidu - Nov-16-2023, 06:18 PM - Forum: News and Discussions - Replies (3)

I am trying to install pdfplumber [0.8.0 higher versions ]

ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have up..... More

Print this item

  How to create a table with the help of Python?
Posted by: emmanuelkatto - Nov-16-2023, 10:25 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello guys, my name is Emmanuel Katto from African. I am a beginner in Python and creating a website and unable to create a table, can anyone help me ..... More

Print this item

  how come i can't stop program
Posted by: Shi_Shi_Shi_Shi - Nov-16-2023, 06:17 AM - Forum: General Coding Help - Replies (4)

see below for edited python code.

when i press the q key nothing happens but i want to stop the program. help please.

Print this item

  what's not working? black window
Posted by: codeweak - Nov-16-2023, 04:16 AM - Forum: Game Development - Replies (3)

Kind regards, for the first time I'm trying to experiment with Python to create game situations, I get the black game window but apparently I get no e..... More

Print this item

  Build apk with pyqtdeploy
Posted by: Unkovic - Nov-15-2023, 11:38 PM - Forum: GUI - No Replies

Hello, I've seen somewhere it's possible to create apk with pyqtdeploy. I'm wondering how to make pyqtdeploy-sysroot for android. Is there any detaile..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  where variable arguments ... Less than 1 minute ago Skaperen Skaperen News and Disc...
  problems with netcdf if I... 6 hours ago Blaubart Blaubart General Codin...
  [Python] Issue of Adding ... 7 hours ago Aymen Aymen General Codin...
  Review of a ping tool mad... 7 hours ago suburbanprojects Axel_Erfurt Code Review
  ModuleNotFoundError: No m... 7 hours ago Wimpy_Wellington Wimpy_Wellington General Codin...
  Monitor Computer Internal... Yesterday, 01:52 EdMcCauley deanhystad General Codin...
  total Noob question: Why ... 05-09, 18:15 MarkMan deanhystad General Codin...
  robocopy question 05-09, 15:07 DPaul Amilia Bar
  Noob programmer - game of... 05-09, 08:37 Dazzalac russellbeckwith Homework
  How to use isintance with... 05-08, 13:22 Azdaghost buran General Codin...
  Gomoku game problem 05-08, 00:10 snl_9527 snl_9527 General Codin...
Most views
  The best Prog... 561407
  Tutorial Requ... 439992
  Web Scraping ... 426607
  Newbie with P... 358545
  Thread remain... 331583
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+ 12046
buran 8168
snippsat 7324
deanhystad 6823
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Aymen Yesterday
jijoh Yesterday
evating619 Yesterday
vinovasg Yesterday
saramalilsa34343 05-09

User Panel Messages

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