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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
Yesterday, 10:18 AM
» Replies: 1
» Views: 60
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 268
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 09:41 AM
» Replies: 3
» Views: 109
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 239
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 93
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,603
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 191
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 175
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,930
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,410

 
  Last caracter of a string truncated issue when working from the end of the string
Posted by: Teknohead23 - Oct-03-2021, 12:15 PM - Forum: General Coding Help - Replies (3)

Hello, can someone please explain why when I select a range starting from the end of a string it truncates the last character?
I can work from the fr..... More

Print this item

Exclamation Python Homework (Urgent help needed!!)
Posted by: chickenseizuresalad - Oct-03-2021, 09:54 AM - Forum: Homework - Replies (6)

Hi, I am quite new to python as I just started doing the GCSE so please don't leave any rude comments- I have probably made many mistakes.
One of my ..... More

Print this item

  ModuleNotFoundError: No module named 'Seal'
Posted by: Anldra12 - Oct-03-2021, 04:24 AM - Forum: General Coding Help - Replies (10)

I run project for Homographic Encryption Where Microsoft Seal library is needed as i run it from git and install successfully. But i am using Python3...... More

Print this item

  code running after tracebacks
Posted by: Skaperen - Oct-03-2021, 12:09 AM - Forum: News and Discussions - No Replies

i had mentioned elsewhere that i had seen code run after tracebacks. i found why. this was happening. when developing classes where instantiated a ..... More

Print this item

  functions/methods
Posted by: menator01 - Oct-02-2021, 07:22 PM - Forum: General Coding Help - Replies (2)

In some of the code I have seen def somefunc() -> list: or varient. What does that do?

Print this item

  Real-Time output of server script on a client script.
Posted by: throwaway34 - Oct-02-2021, 05:56 PM - Forum: General Coding Help - Replies (2)

So i want to get a real-time readout of commands executed on the server side of the two scripts, How would I do that without only limited output?
Ser..... More

Print this item

  Minecraft Python install error
Posted by: SomeAcandKid - Oct-02-2021, 04:29 PM - Forum: General Coding Help - Replies (1)

I get this error:
https://drive.google.com/file/d/1_8yJrvm...sp=sharing
Python 3.9.7

Print this item

  How to use GPU in Python or Pycharm?
Posted by: plumberpy - Oct-02-2021, 03:09 PM - Forum: General Coding Help - Replies (2)

I want to use the GPU to speed up running a program.

How can I enable GPU CUDA in Python or Pycharm?

Thanks.

Print this item

  Saving data into xlxs colomwise
Posted by: erdemath - Oct-02-2021, 09:01 AM - Forum: Data Science - No Replies

I generate different data-sets, and I want to save them into excel file in the form of columns. But, excel file always returns the data-sets row-wise...... More

Print this item

  Need to install an old version of matplotlib
Posted by: Pedroski55 - Oct-01-2021, 11:29 PM - Forum: General Coding Help - Replies (3)

A friend gave me something called a kittenbot.

Apparently, this thing can be programmed using Py..... More

Print this item

  how to get a traceback and keep on running?
Posted by: Skaperen - Oct-01-2021, 09:45 PM - Forum: General Coding Help - Replies (1)

how to get a traceback and keep on running? i'd like to know because it can sometimes be useful. plus, it happened on its own with code i was workin..... More

Print this item

  How to do next line output from CSV column?
Posted by: atomxkai - Oct-01-2021, 07:09 PM - Forum: General Coding Help - Replies (2)

Hello, I have 4 columns in CSV and I want to make the output for COL4 as next line.
CSV Columns
COL1 COL2 COL3 COL4

output:
<line1> Col2
<line2> Col3..... More

Print this item

  Tutorials on sockets, threading and multi-threading?
Posted by: muzikman - Oct-01-2021, 06:47 PM - Forum: General Coding Help - Replies (2)

Greetings,

Does anyone know of any books or online tutorials that talks in depth about the networking aspects of Python: sockets, threading, multi-..... More

Print this item

  popping an iterator
Posted by: Skaperen - Oct-01-2021, 06:14 PM - Forum: General Coding Help - Replies (11)

i can easily extract the last item from a list with mylist.pop(). is there an easy way to do that with an iterator?

Print this item

Lightbulb trace library
Posted by: xxxlabradorxxx - Oct-01-2021, 06:12 PM - Forum: General Coding Help - Replies (1)

Hi, I'm hoping someone could explain how the trace library in Python works. In this class, I am taking a significant portion of it, is tracing ..... More

Print this item

  Where's the endless loop?
Posted by: Mark17 - Oct-01-2021, 02:08 PM - Forum: General Coding Help - Replies (14)

Hi all,

Here's some code:

[Python]
#goal here is to sum number of rows by DTE

df = pd.read_csv("C:/Users/Mark/Desktop/SPX_2021_copy.csv")
..... More

Print this item

  Random data generation sum to 1 by rounding
Posted by: juniorcoder - Oct-01-2021, 01:44 PM - Forum: General Coding Help - Replies (9)

Hello everyone,
I need a small help. I need to generate random values between 0 and 1. They must be successively ordered. Let me give you an exampl..... More

Print this item

  how can I correct the Bad Request error on my curl request
Posted by: tomtom - Oct-01-2021, 08:04 AM - Forum: General Coding Help - Replies (8)

I have this request example :

curl –X POST https://api.apifonica.com/v2/accounts/{a...}/messages \
-H 'Content-Type: application/json' \
-d..... More

Print this item

  Using regex to count specific character in file
Posted by: shamishd - Oct-01-2021, 06:30 AM - Forum: Homework - Replies (1)

Using regex to count specific character in file

i have a hard time getting the right output using regex to count "$" on the file

#content in sam..... More

Print this item

  Have tkinter button toggle on and off a continuously running function
Posted by: AnotherSam - Oct-01-2021, 02:55 AM - Forum: GUI - Replies (5)

Hello all,

I am trying to write a function for a tkinter button that when toggled begins running a continuously looping function until the same but..... More

Print this item

  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: 405)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding Yesterday, 10:18 lary_p Larz60+ Homework
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Help with Serial.write in... Yesterday, 09:41 racingsubby Larz60+ General Codin...
  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... 578807
  Tutorial Requ... 509779
  Web Scraping ... 441909
  Newbie with P... 385904
  New Users Int... 375930
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
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10
dimitriwati 11-10

User Panel Messages

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