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,248
» Latest member: kai_cow2710
» Forum threads: 38,779
» Forum posts: 175,815

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: mamta25
3 hours ago
» Replies: 2
» Views: 79
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
3 hours ago
» Replies: 4
» Views: 135
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 291
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 262
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 99
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,614
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 201
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 184
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,090
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,419

 
  Add elements to a Dictionary
Posted by: muzikman - Sep-08-2021, 07:25 PM - Forum: General Coding Help - Replies (12)

Greetings,

I am trying to loop through a list of move titles and their corresponding rating. ex.

Title = 'Rocky', Rating = 5

How can I contin..... More

Print this item

  Which python built in library is used for face recognition?
Posted by: Michel_John - Sep-08-2021, 02:25 PM - Forum: Homework - Replies (4)

Hello there,
I start working on python language and also start a small project for face recognition[url=https://python-forum.io/thread-34859.html]..... More

Print this item

  python regex: get rid of double dot
Posted by: wardancer84 - Sep-08-2021, 12:33 PM - Forum: General Coding Help - Replies (4)

hi,

i'm parsing ifconfig output and failed to get rid of the double dot after the interface name (en0: for example). anyone?

[python]
>>> print..... More

Print this item

  Cycles homework
Posted by: Roman_Y - Sep-08-2021, 10:16 AM - Forum: Homework - Replies (3)

# Dear Python experts please help me with the task.
_______________________________________________________________
[python]delta_history = [
[..... More

Print this item

  Logging /w several modules/libraries
Posted by: Lou - Sep-08-2021, 07:38 AM - Forum: General Coding Help - Replies (3)

I’m on my ragged edge here with getting logging to live up to the hip. My current project with several modules and two library files has an error (may..... More

Print this item

  embold code checking site
Posted by: zahhak - Sep-08-2021, 06:53 AM - Forum: General Coding Help - Replies (1)

Hi every one
I was wondering if you could help me out please
I'm trying to use the embold website to check my python code, I've heard good things ab..... More

Print this item

  RandomForest --ValueError: setting an array element with a sequence
Posted by: JaneTan - Sep-08-2021, 02:12 AM - Forum: Data Science - No Replies

I am completely new to RandomForest and Machine Learning. Some help will be appreciated! Thank you!

Example of DataSet
[python]
**ID |s..... More

Print this item

  Problem with my pong code
Posted by: Than999 - Sep-08-2021, 01:15 AM - Forum: Game Development - Replies (3)

Hi, I am following a tutorial on Youtube on how to make this pong game. I follow the tutorial code-for-code, and I am getting a different result than..... More

Print this item

  Sorting by average ascii value
Posted by: ben1122 - Sep-07-2021, 06:30 PM - Forum: General Coding Help - Replies (8)

Hey, I have a question in which I need to sort some stuff without using sort/sorted.
I need to do:
1.Write a code which receives words in a list till ..... More

Print this item

  ModuleNotFoundError after publishing project
Posted by: mattshu - Sep-07-2021, 04:21 PM - Forum: General Coding Help - Replies (2)

So I'm pretty sure I followed the PyPI tutorial to a T. I have the entry point set for..... More

Print this item

  Head of Data Science / AI (f/m/d) in Berlin, Germany
Posted by: patpat - Sep-07-2021, 03:28 PM - Forum: Jobs - No Replies

With a fully automated and individually tailored approach, we assess the situation of each debtor individually and thus achieve higher repayment rates..... More

Print this item

  comparison of two xlsx files
Posted by: Jlyk - Sep-07-2021, 09:55 AM - Forum: General Coding Help - Replies (4)

Hello everyone!

I have 2 xlsx files and I need to search some words from one file in file two and write down founded information in third xlsx file..... More


Attached Files

.xlsx   newin.xlsx (Size: 8.69 KB / Downloads: 411)
.xlsx   sqr.xlsx (Size: 10.64 KB / Downloads: 417)
Print this item

  if __name__=='__main__'
Posted by: albin2005 - Sep-07-2021, 09:06 AM - Forum: General Coding Help - Replies (3)

can some explain what is if __name__=='__main__' ? and how it is used in python programs ?

Regards,
albin2005

Print this item

  IndexError: list index out of range
Posted by: rf_kartal - Sep-07-2021, 08:12 AM - Forum: General Coding Help - Replies (6)

Hi,
Below is the code that worked before, it gives the error "list index out of range".
I don't know where is the wrong. Could you please help me?
..... More

Print this item

  Python script missing the price
Posted by: PythonNewbie999 - Sep-06-2021, 07:03 PM - Forum: Web Scraping & Web Development - Replies (1)

Need some help.

Want I need is to pull the price from the below code. However whenever I run the script I get the following output: "2163/110-FRYM..... More

Print this item

  I need Help with my code
Posted by: Fannel - Sep-06-2021, 05:22 PM - Forum: Data Science - Replies (2)

Hello guys, i need help.
im tryng to "filter" my Excel Sheet using the time. i have a time collumn with hh:mm:ss and i want to delete all the row tha..... More

Print this item

  accessing wxwidgets
Posted by: jim - Sep-06-2021, 04:13 PM - Forum: GUI - Replies (5)

This is something simple that I cannot get my head around!
In one module I set up a wx gui, that has some buttons which are bound to events, and some..... More

Print this item

  VS Code Python Formatter
Posted by: muzikman - Sep-06-2021, 02:13 PM - Forum: General Coding Help - Replies (6)

Greetings,

I use VS Code for Python and other languages. However, I cannot find a good source formatter extension for Python. I've tried [b]..... More

Print this item

  I need Help with my code
Posted by: Fannel - Sep-06-2021, 10:56 AM - Forum: General Coding Help - Replies (2)

Hello guys, i have this simple code. its taking tree random rows from a Excel and printing it out into a txt document.
its working well but i should d..... More

Print this item

Question Arduino simulation
Posted by: eeman_572 - Sep-06-2021, 10:07 AM - Forum: General Coding Help - No Replies

Hi,

I have a pyhton code that detects hand gestures to control wheelchair movemonts. I need help with online arduino simulation. How to simulate a..... More

Print this item

  My simple code don't works !!
Posted by: Nabi666 - Sep-06-2021, 09:55 AM - Forum: General Coding Help - Replies (1)

Sorry for possible language mistakes, i'm french

I did a simple video game but my function fight don't works, i don't know why, can you help m..... More

Print this item

  raspberry use scrolling text two lines together
Posted by: fishbone - Sep-06-2021, 03:24 AM - Forum: General Coding Help - No Replies

Hello Everyone,

I connect the 16*2 lcd screen to my raspberry. I want to write two columns scrolling text on the lcd screen.

I use the below co..... More

Print this item

  Raw Image Data Viewer using tkinter
Posted by: menator01 - Sep-06-2021, 02:25 AM - Forum: Code sharing - Replies (1)

[python]
#! /usr/bin/env python3

from skimage.io import imread
import tkinter as tk
from tkinter import filedialog
from os import sys
import a..... More

Print this item

  lost a post that i edited
Posted by: Skaperen - Sep-06-2021, 12:55 AM - Forum: Board - Replies (2)

does an on-topic post with 24 lines of on-topic code violate any rules here that would get it deleted or could i have goofed up editing it after i pos..... More

Print this item

  Please help I'm a beginner
Posted by: Nabi666 - Sep-05-2021, 09:44 AM - Forum: Game Development - Replies (1)

Sorry for possible language mistakes, I'm french
I started programmation for a year but i don't remember anything about it, i'm a total beginner an i..... More


Attached Files

.py   Premier jeux vidéo en python.py (Size: 11.38 KB / Downloads: 442)
Print this item

  looking for scripts that do simple image display
Posted by: Skaperen - Sep-05-2021, 12:18 AM - Forum: GUI - Replies (10)

i would like to have a minimal script to display an image. very minimal would support just one image file format although supporting two formats woul..... More

Print this item

  my simple code wont work! help!
Posted by: simon12323121 - Sep-05-2021, 12:06 AM - Forum: Homework - Replies (2)

Hi All,

UPDATE - I fixed it - I had to force the input typo be an integer for the comparison

I am trying to make a multiplication tester program..... More

Print this item

  TypeError: sequence item 0: expected str instance, float found Error Query
Posted by: eddywinch82 - Sep-04-2021, 08:50 PM - Forum: General Coding Help - Replies (1)

Hi there,

I have the following, first part of a Python Pandas Code :-

[python]import pandas as pd
pd.chained_assignment=None

data =..... More


Attached Files

.csv   BBMF2011.csv (Size: 136.99 KB / Downloads: 418)
Print this item

  Python graphics
Posted by: kaltenherz - Sep-04-2021, 08:31 PM - Forum: General Coding Help - Replies (1)

I just started learning graphing in python and I don't understand what the problem is
[python]import numpy as np
import matplotlib.pyplot as plt

..... More

Print this item

  Regex - Pass Flags as a function argument?
Posted by: muzikman - Sep-04-2021, 06:48 PM - Forum: General Coding Help - Replies (6)

Greetings,

I am just playing around with possibly making some methods for my own class for regex. I have a slight problem. Take a look at the sear..... More

Print this item

Photo How plotsubplot in Python
Posted by: Anldra12 - Sep-04-2021, 06:38 PM - Forum: General Coding Help - Replies (4)

How can We plot subplot similar for four in one in Python using matplotlib or Any Python Library

  1. See the Url
https://ibb.c..... More

Print this item

  Dealing with duplicated data in a CSV file
Posted by: bts001 - Sep-04-2021, 06:15 PM - Forum: General Coding Help - Replies (10)

I am new to the programming world and I am looking for advice on the scenario below:

I have a csv file with four columns of data and I want to extr..... More

Print this item

  Mypy typing error
Posted by: WannaBePythonDev - Sep-04-2021, 05:52 PM - Forum: General Coding Help - Replies (2)

[python]
@staticmethod
def formula_obj_to_string(formula: Formula) -> str:
"""Recursive function to assemble a string representatio..... More

Print this item

  Need to run 100+ Chrome’s with Selenium but can’t get past ~15 without breaking
Posted by: imillz - Sep-04-2021, 04:51 PM - Forum: General Coding Help - No Replies

I have a script with selenium where I need to run about 100 different chromes and 15 tabs per chrome. I can easily run 10 chromes with 15 tabs using a..... More

Print this item

  if statement string match
Posted by: javiopro - Sep-04-2021, 04:37 PM - Forum: General Coding Help - Replies (2)

making a simple remote radio control program. radio listens for packets
and if none received, keep listening. Im needing it to check if transmitted s..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 3 hours ago lary_p mamta25 Homework
  Help with Serial.write in... 3 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [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
Most views
  The best Prog... 578835
  Tutorial Requ... 509844
  Web Scraping ... 441915
  Newbie with P... 385916
  New Users Int... 376090
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10

User Panel Messages

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