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,579
» Latest member: kava
» Forum threads: 38,634
» Forum posts: 175,034

Full Statistics

Online Users
There are currently 422 online users.
» 1 Member(s) | 417 Guest(s)
Yandex, Google, Bing, Baidu, buran

Latest Threads
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
5 hours ago
» Replies: 3
» Views: 65
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
7 hours ago
» Replies: 11
» Views: 377
Problème d'exécutable
Forum: General Coding Help
Last Post: Zauf
Yesterday, 01:19 PM
» Replies: 0
» Views: 86
[split] Simple webbot for...
Forum: Code Review
Last Post: Plyth
Yesterday, 04:55 AM
» Replies: 3
» Views: 112
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:07 AM
» Replies: 3
» Views: 174
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Jun-19-2025, 03:37 AM
» Replies: 2
» Views: 135
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Jun-18-2025, 09:15 PM
» Replies: 4
» Views: 255
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Jun-18-2025, 06:40 AM
» Replies: 4
» Views: 1,004
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Jun-18-2025, 04:47 AM
» Replies: 1
» Views: 118
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Jun-18-2025, 02:19 AM
» Replies: 2
» Views: 158

 
Information Do regular expressions still need raw strings?
Posted by: bobmon - May-02-2024, 03:43 PM - Forum: General Coding Help - Replies (3)

Hello everyone (1st post!)

When I started using regular expressions back in Python 2, it seemed that best practice was to use raw strings in order ..... More

Print this item

  Connecting to Remote Server to read contents of a file
Posted by: ChaitanyaSharma - May-02-2024, 01:42 PM - Forum: General Coding Help - Replies (1)

I want to get files which are kept on a remote server and can be connected using RDP. however, the port opened is 3389 instead of default port 22. Wh..... More

Print this item

  Filer and sort files by modification time in a directory
Posted by: tester_V - May-02-2024, 03:57 AM - Forum: General Coding Help - Replies (5)

Greetings!
I need to filter files by file names, sort by the last modification time and process them.
I got this code but it does not work.
[python..... More

Print this item

Brick looking for a Coding Partner
Posted by: sahorier - May-01-2024, 08:28 AM - Forum: Bar - Replies (1)

I am a new learner. Now I am learning Python. But I think having a coding partner boosts learning interest. Now I am looking for a coding partner with..... More

Print this item

  Excel isnt working properly after python function is started
Posted by: IchNar - May-01-2024, 06:24 AM - Forum: General Coding Help - Replies (2)

I have a Python application that can create a graph based on input that the user enters into a form(GUI) that is created via Tkinter. This application..... More

Print this item

  Button to +1 in text box everytime it's clicked
Posted by: martyloo - May-01-2024, 12:24 AM - Forum: GUI - Replies (1)

Hello I have the following code that I want it to start counting from 0 adding 1 every time "pushbutton" is pressed and the value to be shown in "text..... More

Print this item

  Strange behavior list of list
Posted by: mmhmjanssen - Apr-30-2024, 05:13 PM - Forum: General Coding Help - Replies (3)

You can initialise a list containing 3 zeroes as follows:
mylist = 3*[0]

If you initialise a list containing 4 of such lists as follows:
mylist =..... More

Print this item

  two functions working in a strange way
Posted by: zapad - Apr-30-2024, 11:26 AM - Forum: General Coding Help - Replies (3)

[python]I am meeting a problem with 2 functions
The 1st one
the first function job: clean a string and
at the end, it calls the function def pi_dig..... More

Print this item

  How can I print from within actor(func) ??
Posted by: Pedroski55 - Apr-30-2024, 07:51 AM - Forum: General Coding Help - Replies (2)

I have the following example from here.

To help me understand what is going on, I like to put pri..... More

Print this item

  Python editor that will SFTP automatically on save
Posted by: sawtooth500 - Apr-29-2024, 10:15 PM - Forum: General Coding Help - Replies (1)

Can anyone recommend a python editor for Windows that will automatically upload my file to the server upon save via SFTP? I prefer a minimalist editor..... More

Print this item

Question Convert UTC now() to local time to compare to a strptime()
Posted by: Calab - Apr-29-2024, 04:56 PM - Forum: General Coding Help - Replies (2)

I have a string that contains a local time "2024-12-31 23:59:59". The local time is "America/Edmonton".

The time zone on my machine is UTC, so date..... More

Print this item

  PayrollSystem with file handling
Posted by: nikadry1 - Apr-29-2024, 01:16 PM - Forum: Homework - Replies (1)

I have a problem in exercise. I tried ai, to solve it but the issue didn't go away. Here you can find my code, expected output and my output. I always..... More

Print this item

  Urgent:help about prediction size
Posted by: kzbn - Apr-29-2024, 10:32 AM - Forum: Data Science - Replies (5)

Hi all,
I'm a bit new to pyhton. In my jupyter lab code, I'm working on time series project. The code below doesn't give last 2 prediction from test ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Visualizing musician chart performance and ranking using pandas and matplotlib
Posted by: Drone4four - Apr-28-2024, 05:26 PM - Forum: Data Science - Replies (5)

I am enrolled in a not for school credit Udemy course by Colt Steele on data anl[url=https://python-forum.io/thread-42047.html]..... More


Attached Files

Thumbnail(s)
       
Print this item

  [SOLVED] Loop through directories and files one level down?
Posted by: Winfried - Apr-28-2024, 01:10 PM - Forum: General Coding Help - Replies (3)

Hello,

Google didn't help.

On Windows, I need to loop through the directories one level below the start directory, and through all the files in ..... More

Print this item

  UART write binary code
Posted by: trix - Apr-28-2024, 08:37 AM - Forum: General Coding Help - Replies (3)

hello,

I am trying to send out a binary code with the UART.
with a hexadecimal code it works:
[code]
command = b'\x80'
scanner_uart.write(comm..... More

Print this item

  intering int number
Posted by: akbarza - Apr-28-2024, 07:42 AM - Forum: General Coding Help - Replies (1)

hi
in the below code:
[python]#from: https://realpython.com/python-assignment-operator/
''' to detemine intering range for integers'''

from plat..... More

Print this item

  How to solve this error "Exceeded 30 redirects" while using "nsepy" library
Posted by: PranayShah - Apr-28-2024, 03:08 AM - Forum: Data Science - Replies (1)

I'm getting this error named "Exceeded 30 redirects" while using "nsepy" library, when I'm trying to fetch data (plz reefer the screenshot)

[python..... More


Attached Files

Thumbnail(s)
   
Print this item

  negative memory usage
Posted by: akbarza - Apr-27-2024, 07:41 AM - Forum: General Coding Help - Replies (1)

hi
in the below code, after running, the usage of memory is shown as a negative number! why?
[python]
#from:https://blog.faradars.org/reduce-memory..... More

Print this item

  Program that calculates buildtime.
Posted by: xzenon - Apr-27-2024, 06:57 AM - Forum: Data Science - Replies (3)

Hi
I am trying to make a program to calculate build time with old data from previous build.
But its not working as intended.

When i put in lesser..... More

Print this item

  API design an choice
Posted by: Skaperen - Apr-27-2024, 12:58 AM - Forum: News and Discussions - Replies (4)

i am creating a group of functions that have a similar purpose across a list of file paths. i will look at four of them for this question although th..... More

Print this item

  Discord - Webcrapping from a Forum
Posted by: Tolska - Apr-26-2024, 12:27 PM - Forum: Web Scraping & Web Development - No Replies

Hello, I'm trying to get a a script to work but I'm having some issues. I need a bot to scrape the "Latest" post which has been posted on specific for..... More

Print this item

  TypeError: '>' not supported between instances of 'numpy.str_' and 'int'
Posted by: Anouar - Apr-26-2024, 09:34 AM - Forum: Data Science - No Replies

When I tried to run my python script, I got this error "TypeError: '>' not supported between instances of 'numpy.str_' and 'int'"

There are ..... More


Attached Files

Thumbnail(s)
       
Print this item

  How to edit Tkinter Minimize, Maximize, and Close Buttons
Posted by: kucingkembar - Apr-26-2024, 08:35 AM - Forum: General Coding Help - Replies (7)

sorry for my bad English,

1. in tkinter I tried to hide Minimize,
maximize button, but I only found :

Top.resizable(0,0)
what..... More

Print this item

  Why am I getting this error from Dave Beazly's programme?
Posted by: Pedroski55 - Apr-26-2024, 07:38 AM - Forum: General Coding Help - Replies (4)

This is from Dave Beazly's Generators: The Final Frontier here. Part 3, the example inline_recursive..... More

Print this item

  ModulNotFoundError matplotlib
Posted by: WicardBohnam - Apr-26-2024, 12:05 AM - Forum: General Coding Help - Replies (9)

I'm new to Python and have installed Python 3.12.3 with idle on Windows 10. Having had fairly good success with other scripts, I decided to try to co..... More

Print this item

  How To Make A PyQt5 Progress Bar Run While Executing A Function
Posted by: rcwildabeast - Apr-25-2024, 09:28 PM - Forum: GUI - Replies (1)

I am relatively new to PYQT5. I am implementing a progress bar. However, I have run into the issue where the pop up progress bar does not run at the s..... More

Print this item

  Problem Converting Tradingview Indicator to Python code
Posted by: kralxs - Apr-25-2024, 07:40 PM - Forum: General Coding Help - Replies (1)

Hello, I have been trying to convert the CCI-EMA indicator prepared with pinescript on Tradingwiev to Python code for about a week and filtering throu..... More

Print this item

  New on python. Needs help with Google sheet
Posted by: jeromep - Apr-25-2024, 06:26 PM - Forum: General Coding Help - Replies (1)

I'm new to coding.
I created the following code, but I cannot place the data entered in my Google Sheet file. JSON works.

The date must go in the ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Good way to ignore case when searching elements?
Posted by: Winfried - Apr-25-2024, 10:05 AM - Forum: General Coding Help - Replies (1)

Hello,

In the files I need to work with, I notice that the values in the following meta line can be either lower-case or capitalized.

What would be ..... More

Print this item

  using mutable in function defintion as optional paramter
Posted by: akbarza - Apr-25-2024, 08:26 AM - Forum: General Coding Help - Replies (8)

hi
I read some about using mutable(list or dict) in function definition as an optional parameter as this was discussed in the site realpython(its add..... More

Print this item

  Cucumber installation
Posted by: SDS - Apr-24-2024, 10:24 PM - Forum: General Coding Help - Replies (2)

I am getting an error message when I try to install cucumber when using the following command. Any assistance would be greatly appreciated.


>>>im..... More

Print this item

  Win or Loss Prediction
Posted by: ksasi2k3 - Apr-24-2024, 06:45 PM - Forum: General Coding Help - Replies (4)

I am trying to predict win or loss in ML using Python. Tried XGboost,Logistic and SVC method but getting struct in place where it says " estimators fa..... More

Print this item

  Python Project Structure for Modularity and Reusability with Multiple Entry Points
Posted by: b19wh33l5 - Apr-24-2024, 12:21 PM - Forum: General Coding Help - No Replies

I am massively confused about the approach I should take to organizing my project structure (see below) for my machine learning experiments. My projec..... More

Print this item

  how to edited Tkinter Toplevel from main form?
Posted by: kucingkembar - Apr-24-2024, 10:29 AM - Forum: General Coding Help - Replies (7)

i tried to edited Toplevel title, but after 2 hours i failed, please help
[python]from tkinter import *
def editedtoop(top):
top.title("Edited"..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A penny doubled every day... 5 hours ago esoyboy DeaD_EyE Homework
  How do select this table ... 7 hours ago MarkMan snippsat Web Scraping ...
  Problème d'exécutable Yesterday, 13:19 Zauf Zauf General Codin...
  [split] Simple webbot for... Yesterday, 04:55 AB073 Plyth Code Review
  Dynamic Module Import Err... Yesterday, 00:07 DaddyMAN Pedroski55 General Codin...
  What Are the Most Overloo... 06-19, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... 06-18, 21:15 voidtrance deanhystad General Codin...
  Wish to write a code for ... 06-18, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question 06-18, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... 06-18, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
Most views
  The best Prog... 572275
  Tutorial Requ... 484763
  Web Scraping ... 436815
  Newbie with P... 379638
  Thread remain... 351223
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12066
buran 8173
snippsat 7339
deanhystad 6839
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
kava Yesterday
esoyboy Yesterday
Zauf Yesterday
rupacodingclave Yesterday
Langlais Yesterday

User Panel Messages

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