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,400
» Latest member: zcharlesoogleto9533
» Forum threads: 38,825
» Forum posts: 176,029

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Applebot, Google, Mojeek, AOL, Facebook Dev

Latest Threads
What Happens At The End O...
Forum: General Coding Help
Last Post: asauellittle8716
32 minutes ago
» Replies: 0
» Views: 10
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
32 minutes ago
» Replies: 1
» Views: 31
Погрузитесь в ясность аза...
Forum: General Coding Help
Last Post: luisfrancesz3208
39 minutes ago
» Replies: 0
» Views: 10
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,586
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 176
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,593
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 142
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 289
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,106
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,955

 
  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: 407)
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: 346)
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: 374)
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 Happens At The End O... 32 minutes ago asauellittle8716 asauellittle8716 General Codin...
  Opencv findContours Q 32 minutes ago jogl Pedroski55 General Codin...
  Погрузитесь в ясность аза... 39 minutes ago luisfrancesz3208 luisfrancesz3208 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
Most views
  The best Prog... 580410
  Tutorial Requ... 519513
  Web Scraping ... 442785
  Newbie with P... 386984
  New Users Int... 386504
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zcharlesoogleto9533 Today
asauellittle8716 Today
luisfrancesz3208 Today
MaxTranslate Yesterday
pizofreude Yesterday

User Panel Messages

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