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

Full Statistics

Online Users
There are currently 53 online users.
» 0 Member(s) | 46 Guest(s)
Applebot, Bing, AOL, Google, Internet Archive, AOL

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

 
  limiting number of digits as words in a function
Posted by: Skaperen - Oct-01-2021, 12:08 AM - Forum: News and Discussions - No Replies

i am revising my code that converts numbers to works (1609 -> "sixteen hundred nine"). it's a command, now, and i am making it into a function that i..... More

Print this item

  Inventory System
Posted by: mcmxl22 - Sep-30-2021, 09:10 PM - Forum: Code sharing - Replies (3)

A command-line inventory system I wrote.
The dependencies are here[/ur[url=https://python-forum.io/thread-35121.html]..... More

Print this item

  function that run once for all objects
Posted by: mr_byte31 - Sep-30-2021, 07:15 PM - Forum: General Coding Help - Replies (10)

I create a class and I added a code that download a file and parse it in the __init__ .
for each object I create an object from my class it calls the..... More

Print this item

  Adding another condition for df column comparison
Posted by: Mark17 - Sep-30-2021, 03:03 PM - Forum: General Coding Help - Replies (2)

Hi all,

Here's some code:

[Python]
print('Total number of changes in DTE value is {}'.format((df['DTE'] != df['DTE'].shift(1)).sum()))
print('..... More

Print this item

  How to remove a column or two columns in a correlation heatmap?
Posted by: lulu43366 - Sep-30-2021, 02:18 PM - Forum: General Coding Help - Replies (3)

Good morning to the community!
I would like to remove the column Dynamic (average) or Dynamic (average) and T- 10-6.
How to do this?
[python]from..... More


Attached Files

Thumbnail(s)
   

.csv   Santé3.csv (Size: 4.45 KB / Downloads: 399)
Print this item

  Need advice on simple equation
Posted by: thunderspeed - Sep-30-2021, 01:50 PM - Forum: Data Science - Replies (1)

Hello everyone,

I believe my following question would be simple to you, but I need some direction since things need confirmation after reading throug..... More

Print this item

  Server/client basic communication
Posted by: ebolisa - Sep-30-2021, 12:22 PM - Forum: Networking - No Replies

Hi,

I'm trying to learn how to achieve a server/client communication.

So, as a client, I'm injecting a code 'manually' and reading the server's ..... More

Print this item

  Looking for open source projects to contribute
Posted by: cavalcantelucas - Sep-30-2021, 11:22 AM - Forum: News and Discussions - Replies (2)

Hello community,

May you have any recommendations or advices for open source projects to contribute?
I'm eager to "level up" as a developer while sup..... More

Print this item

  Update variable using tkinter entry methon
Posted by: drSlump - Sep-30-2021, 07:51 AM - Forum: GUI - Replies (6)

Hallo everyone, I have the following code. The goal is to create a GUI that takes the entry values and update vriables value that I want to use lter i..... More

Print this item

Question How to pass a method as argument in an another method?
Posted by: anilanvesh - Sep-30-2021, 05:16 AM - Forum: General Coding Help - Replies (6)

I want to write a python calculator program that has different methods to add, subtract, multiply which takes 2 parameters. I need to have an execute ..... More

Print this item

  Python MYSQL connection does not work after 1h idle
Posted by: zazas321 - Sep-30-2021, 04:54 AM - Forum: General Coding Help - Replies (9)

Hello. I have created MYSQL db on UBUNTU server. I have my Python script running which is connecting to that MYSQL db.
[code]
mysql-connector-python..... More

Print this item

  Trouble changing Font within tkinter frame title
Posted by: AnotherSam - Sep-30-2021, 03:21 AM - Forum: GUI - Replies (1)

   
Hello all,
I am trying to change the font of within the tkinter's frame title. I've come across a few methods on the internet but ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Whatsapp stratus tracker
Posted by: itaybardugo - Sep-29-2021, 06:05 PM - Forum: Code sharing - Replies (1)

Hi guys
Just finishes developing WhatsasppTracker
WhatsappTracker is a selenium based software which tracks the status of a given contact, and outpu..... More

Print this item

  Share your thoughts with me!
Posted by: itaybardugo - Sep-29-2021, 06:02 PM - Forum: Code Review - Replies (1)

Hi guys
Just finishes developing WhatsasppTracker
WhatsappTracker is a selenium based software which tracks the status of a given contact, and outp..... More

Print this item

  Generating classes diagram from source code
Posted by: Pavel_47 - Sep-29-2021, 03:51 PM - Forum: General Coding Help - Replies (3)

Hello,
In this link they propose a method of generating architecture of Python program from source code (using PyCharm):
..... More

Print this item

  bleak library RuntimeError: This event loop is already running
Posted by: alice93 - Sep-29-2021, 03:39 PM - Forum: General Coding Help - Replies (3)

Hello,

I would like to use Bleak library to read the datas from an Arduino nano 33 BLE sense.
I am a beginner so I am trying to do it step by st..... More

Print this item

  Downloading images from webpages
Posted by: H84Gabor - Sep-29-2021, 10:32 AM - Forum: General Coding Help - Replies (2)

Hi all,

I have thousands of images to download that I need to automate. I tried a number of solutions I found on the internet, but they all produce..... More

Print this item

  Juypter Notebook_Library_keras.util.
Posted by: dackley27 - Sep-28-2021, 06:21 PM - Forum: General Coding Help - No Replies

Greetings!
In loading a particular library from keras.util in Juypter, the to_categorical import step throws an error.
Why is this happening and h..... More

Print this item

  I am trying to reverse a string using loop
Posted by: codinglearner - Sep-28-2021, 12:09 PM - Forum: General Coding Help - Replies (4)

Hi, I recently started learning python, I read this blog and trying to implementing it.

I am getting stuck, I can't use [inline]".join(reversed(str..... More

Print this item

  Print first day of the week as string in date format
Posted by: MyerzzD - Sep-28-2021, 11:34 AM - Forum: General Coding Help - Replies (2)

Hey guys, I'm new to Python and I'm struggling with getting the beginning of the week as a string.

[python]from apiclient.discovery import build
..... More

Print this item

  Please, prompt open data repositories
Posted by: AlekseyPython - Sep-28-2021, 11:11 AM - Forum: Data Science - Replies (4)

To improve model predictions, I sometimes add features from open sources. Unfortunately, now I have to googling to find them. For example, now I need ..... More

Print this item

  name 'x' is not defined
Posted by: dolev28 - Sep-28-2021, 09:40 AM - Forum: General Coding Help - Replies (2)

hi,
I keep getting errors regarding variable definition.
I did defined the variable, yet the visual studio still getting the error:
[error]Exceptio..... More

Print this item

  How to find the impact of each of the correlated features?
Posted by: AlekseyPython - Sep-28-2021, 09:05 AM - Forum: Data Science - No Replies

I have two features that have a strong correlation (> 0.7). Because of this, it's not clear, which of them has a stronger influence on the result: dur..... More

Print this item

  adding a delay on end
Posted by: Daz2264 - Sep-28-2021, 07:56 AM - Forum: General Coding Help - Replies (6)

Noob here.

I've been trying to set up a simple code to operate two relays.
Relay 1 is to turn on a router.
Relay 2 is to turn on a vacuum.
This ..... More

Print this item

  How to pass list of values to a API request URL
Posted by: chetansaip99 - Sep-28-2021, 07:37 AM - Forum: General Coding Help - No Replies

In the below script, I'm pulling data from level opportunity api, take contact from opportunity and pass it to level contact api and get all the field..... More

Print this item

Exclamation question about input, while loop, then print
Posted by: jamie_01 - Sep-28-2021, 06:08 AM - Forum: General Coding Help - Replies (5)

[code]
#!/usr/bin/python3

'''
name #1 : april
name #2 : brett
name #3 : susan


>> create list
'''

count = 1
while (count <= 3):
n..... More

Print this item

  Problem in Regex Expression
Posted by: shantanu97 - Sep-28-2021, 03:29 AM - Forum: General Coding Help - Replies (2)

I have file where I want to replace the particular row when a particular thing(string) matches with semicolon. If Equipment onsite is null/nothing the..... More


Attached Files

Thumbnail(s)
   

.csv   TestEquipmentOnsite.csv (Size: 204 bytes / Downloads: 334)
Print this item

  Basic Inheritance, Why Use init
Posted by: udinjelek - Sep-28-2021, 02:59 AM - Forum: General Coding Help - Replies (5)

I'm new in Programing Language.

in here Bird and Cat are inheritance from Animal,
- Bird use __init__ and super
- Cat use nothing

but both ha..... More

Print this item

  Show HTML in Python application and handle click
Posted by: SamHobbs - Sep-28-2021, 12:14 AM - Forum: Web Scraping & Web Development - Replies (2)

I know how to do this using C#. C# has a WebBrowser class and later classes.

I want to show a HTML file in a Python application, not in a browser (no..... More

Print this item

  How does this generator work?
Posted by: JgKSuperstar - Sep-27-2021, 09:00 PM - Forum: General Coding Help - Replies (2)

code = "F9E56d"

rgb = tuple(int(code[i:i+2], 16) for i in (0, 2, 4))
Hi, I don't quite understand the logic of this code.
Can ..... More

Print this item

  How to clean the dataset? (avoid semi colons)
Posted by: lulu43366 - Sep-27-2021, 08:27 PM - Forum: General Coding Help - Replies (5)

Good morning to the community.
I would like to know how to clean the dataset. I don'yt know if my excel sheet "Santé3" is not well formatted or my co..... More


Attached Files

Thumbnail(s)
   

.csv   Santé3.csv (Size: 2.98 KB / Downloads: 365)
Print this item

  Passing Argument Errors
Posted by: cosmarchy - Sep-27-2021, 07:47 PM - Forum: General Coding Help - Replies (6)

I have a simple(ish) program which is supposed to start a thread which will start two periodic processes.

The roughed out code I'm using to get st..... More

Print this item

  Script stop work after 3 actioins - PLEASE WHERE IS THE PROBLEM?
Posted by: rondon442 - Sep-27-2021, 05:40 PM - Forum: General Coding Help - No Replies

Hey,

I have telegram msg script and he stop work after 3 sends..Please how can I slove this?

This is the code: https://pastebin.com/raw/C4Ney51k..... More

Print this item

  PyCharm One Interpreter for every file?
Posted by: muzikman - Sep-27-2021, 05:39 PM - Forum: General Coding Help - Replies (3)

Greetings,

I am trying out PyCharm and it is extremely frustrating. I am using it with Anaconda. Currently, each time I want to run a specific file..... More

Print this item

  Python OOP - two numbers
Posted by: ben1122 - Sep-27-2021, 05:30 PM - Forum: Homework - Replies (31)

Okay, basically, the question is in hebrew ( my land launage), so I am translating it for you in english, hopefully it will be a good translation:

Wr..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 10 hours ago arbiel arbiel General Codin...
  403 Error 11 hours ago 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... 576265
  Tutorial Requ... 497944
  Web Scraping ... 440192
  Newbie with P... 384045
  New Users Int... 366775
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
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday
marineoman Yesterday
marineservice Yesterday

User Panel Messages

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