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,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

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

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 360
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,827
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,394
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 730
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,200
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,071
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,302
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,293
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,415
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 978

 
  [SOLVED] Input parameter: Single file or glob?
Posted by: Winfried - Sep-10-2021, 10:57 AM - Forum: General Coding Help - No Replies

Hello,

As input parameter, I need to allow users to give either a single file (input.txt) or glob (*.txt).

The following code only supports glob..... More

Print this item

  Dictionnary indexing error
Posted by: Ander - Sep-10-2021, 10:19 AM - Forum: General Coding Help - Replies (6)

Hello, i try to animate a character with 3 frames named "playerf1", 2 and 3, in a "player animation" folder.
I use pygame but that is not at the origi..... More


Attached Files

Thumbnail(s)
   
Print this item

  Sample labels from excel file in order to put them on x-axis and y-axis of a plot
Posted by: hobbyist - Sep-10-2021, 07:43 AM - Forum: General Coding Help - Replies (11)

Hello, I have an excel file with two columns, the 1st includes dates/datetimes and the 2nd includes temperatures. The number of rows are 100. I want t..... More

Print this item

  catboost
Posted by: dawid294 - Sep-10-2021, 07:19 AM - Forum: General Coding Help - Replies (1)

Hello can you help me , I tried install catboost but i have issue. I use jupyter notebook. Thank you

from catboost import CatBoostClassifier
from..... More

Print this item

  Help with storing temp data for each day then recording min/max in app.
Posted by: trthskr4 - Sep-10-2021, 03:51 AM - Forum: General Coding Help - Replies (3)

Hello, I just started trying to learn programming 3 days ago. I'm following online courses and researching about 4-6 hours a day. I'm one of those w..... More

Print this item

  Remove Specific Columns when the number of columns is greater than a specific value
Posted by: CuriousOne - Sep-09-2021, 09:17 PM - Forum: General Coding Help - No Replies

I need to remove 2 columns (column 41 and 42) from a row when the column count within a segment of the row is > 42. I'm extremely new to Python. How w..... More

Print this item

  Package cannot be loaded into PBS queue file
Posted by: emersonpl - Sep-09-2021, 07:24 PM - Forum: General Coding Help - Replies (1)

The skopt package (https://scikit-optimize.github.io/stable/install.html) was installed on a cluster I use.

When I run the code in python directly in..... More

Print this item

  Pysimplegui - Windows location
Posted by: jamesaarr - Sep-09-2021, 03:47 PM - Forum: GUI - Replies (7)

Hello All,

I'm making a program using PySimpleGUI, and unlike my previous programs, I'm looking to make the windows appear in the same place as the..... More

Print this item

  changing key names in nested dict
Posted by: wardancer84 - Sep-09-2021, 03:15 PM - Forum: General Coding Help - Replies (6)

hi,

nested dict:

[python]
'identity': {'AIX_REG_CLIENT_VER': '0.1-alpha',
'HOSTNAME': 'sag01147',
'SYSTEM_NAME':..... More

Print this item

  is there a way to mention port range or search for port dynamically with qConnection
Posted by: Creepy - Sep-09-2021, 03:15 PM - Forum: General Coding Help - No Replies

Hi,

Current connection I have

qconnection.Qconnection(host='xyz',port=5000,username=usr,password=pwd)
Looks like port keeps ..... More

Print this item

  Avoiding Re-login
Posted by: Goodsayan - Sep-09-2021, 01:53 PM - Forum: General Coding Help - No Replies

hi,

I try to use this
https://github.com/ping/instagram_private_api

I managed to successfully login to my account with
[python]
from instag..... More

Print this item

  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH
Posted by: Led_Zeppelin - Sep-09-2021, 01:06 PM - Forum: General Coding Help - Replies (1)

When I run the following code, I get this error. I am not sure what it means or how to correct this error.

[code]
import numpy as np
from datetim..... More

Print this item

  How to terminate a loop in python with button in GUI
Posted by: Joni_Engr - Sep-09-2021, 07:58 AM - Forum: GUI - Replies (6)

Hi, in my GUI I have a function with a while loop inside which is ruining when START button is pressed. The function drive a microcontroller continuou..... More

Print this item

  BeautifulSoup returning text as N/A
Posted by: tantony - Sep-08-2021, 11:06 PM - Forum: Web Scraping & Web Development - Replies (6)

I'm trying to get the text value from the below html, so I should be getting FFT606, but when I run my Python code I'm getting n/a. Please help.

[..... More

Print this item

  CPU recommendation for Python (11900K or 5950X)
Posted by: MangirdTea - Sep-08-2021, 08:21 PM - Forum: General Coding Help - Replies (2)

Dear friends.

In Python, i have 10 different Python projects and my PC is running 7/24 only for 10 Python projects continuously.
But my PC is slo..... More

Print this item

  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: 403)
.xlsx   sqr.xlsx (Size: 10.64 KB / Downloads: 402)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576307
  Tutorial Requ... 498000
  Web Scraping ... 440220
  Newbie with P... 384073
  New Users Int... 366845
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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