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,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,801

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 41 Guest(s)
Bing, Google, Apple, AOL, snippsat

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
6 minutes ago
» Replies: 0
» Views: 10
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
1 hour ago
» Replies: 6
» Views: 158
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Today, 05:37 AM
» Replies: 1
» Views: 67
Data Science
Forum: Data Science
Last Post: mamta25
Today, 05:27 AM
» Replies: 3
» Views: 2,584
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 157
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 149
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 148
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,455
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,387
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,587

 
  how do I return Max Test result + corresponding student name from an excel dataset?
Posted by: sean1 - Jan-16-2022, 02:54 PM - Forum: General Coding Help - Replies (3)

I have a dataset with column headers Student name, ID, Nationality and several test scores (one col per subject.) I have converted the columns to list..... More

Print this item

  Insert missing data in a dataframe
Posted by: amdi40 - Jan-16-2022, 02:12 PM - Forum: Homework - Replies (7)

Hello question about a time series again xd

I have a long time series, where I have data of rain intensity with a deltatime of 2 minutes, it does h..... More


Attached Files

.csv   example.csv (Size: 22.66 KB / Downloads: 383)
Print this item

  asyncio calls within sync function ( Websocket on_open)
Posted by: orion67 - Jan-16-2022, 10:09 AM - Forum: General Coding Help - No Replies

I am currently using a Websocket to get data from a SSEClient and send them using Websocket, the difficulty is that I also need to pilot an IO interfa..... More

Print this item

  Tkinter Weather App
Posted by: menator01 - Jan-16-2022, 01:55 AM - Forum: Code sharing - Replies (1)

I was intrigued by this post and thought I would make a tkinter weather app..... More

Print this item

  Function global not readable by 'main'
Posted by: fmr300 - Jan-15-2022, 10:46 PM - Forum: General Coding Help - Replies (1)

Wierd problem been trying to resolve for several hours - appreciate any help !

I'm runinng an ADC-sampler in a separate thread function, which log..... More

Print this item

  XML compare
Posted by: Nilis78 - Jan-15-2022, 08:03 PM - Forum: General Coding Help - Replies (1)

Im looking for a script what can compare xml and works simular as the compare function in notepad++.

Is there a script like that?

Print this item

  how to refer to a subset of a list
Posted by: Skaperen - Jan-15-2022, 06:59 PM - Forum: General Coding Help - Replies (4)

i have a function that is given a list and it stores a special value into the first position (index 0) of that list.
[code]
def store_special_value(..... More

Print this item

Information Need some help with simple coding!
Posted by: Jarno12 - Jan-15-2022, 05:00 PM - Forum: Homework - Replies (5)

I needed to create a code to get users age and name and then have the output (input examples John, 33) be Hello John! You were born 1989. current outp..... More

Print this item

  help with python mouse script
Posted by: z4rxxxx - Jan-15-2022, 04:39 PM - Forum: General Coding Help - No Replies

i created a mouse script to do some tasks for me and it runes well no problems
but when i bought rdp windows to run the script at windows server 201..... More

Print this item

Question How does one clean a populated table in MySQL/MariaDB? Copying values across tables?
Posted by: BrandonKastning - Jan-15-2022, 03:52 PM - Forum: Data Science - Replies (2)

How does one clean a populated table in MySQL/MariaDB? Copying values across tables?

I was using python, pandas, pymysql, sqlalchemy,..... More

Print this item

  Program for random sum
Posted by: Cristopher - Jan-15-2022, 03:04 PM - Forum: General Coding Help - Replies (7)

Hi,

I started learning Python yesterday. I'm trying to create a program that generates a sum of two random integers for the user to calculate. I wa..... More

Print this item

  I want to simplify this python code into fewer lines, it's about string
Posted by: mandaxyz - Jan-15-2022, 12:32 PM - Forum: General Coding Help - Replies (5)

Hi, I want to simplify this python code into fewer lines as possible, but I'm less experienced and I cannot do it:

[python]code = [0, 1, 0, 1, 0, 1..... More

Print this item

  What do i have to type in the IDLE shell to use this password manager program?
Posted by: MaartenRo - Jan-15-2022, 08:15 AM - Forum: General Coding Help - Replies (4)

Hi,

I am doing an assignment in a Python exercise book. I have to create a password manager program that can be used with a command line argument t..... More

Print this item

  tkinter toggle buttons not working
Posted by: Nu2Python - Jan-15-2022, 05:17 AM - Forum: GUI - Replies (26)

Hi All,

I am working on some code in tkinter for creating a small GUI to control relays with a simple toggle on/off button image. For some reason, ..... More

Print this item

  PySpark Equivalent Code
Posted by: cpatte7372 - Jan-14-2022, 08:59 PM - Forum: General Coding Help - No Replies

Hello Community,

I have coded the following logic into SQL as follows:

Join very_large_dataframe to small_product_dimension_dataframe on column ..... More

Print this item

  Forecasting with ARIMAX
Posted by: Scott - Jan-14-2022, 08:41 PM - Forum: Data Science - No Replies

Hi everyone,

I am trying to forecast GDP with an ARIMAX model but because it uses exogenous variables I cannot use the model to make forecasts beca..... More

Print this item

  Pairs of multiplied prime number--->N
Posted by: Frankduc - Jan-14-2022, 07:22 PM - Forum: General Coding Help - Replies (13)

Hello,

I cant fix this bug. I am trying to find pairs of prime numbers for a series of prime till N.

I get message errors:

Generate prime num..... More

Print this item

  Reading list items without brackets and quotes
Posted by: jesse68 - Jan-14-2022, 06:30 PM - Forum: General Coding Help - Replies (6)

These brackets and quotes always cause me grief.

If I create the list from reading a csv file then print the list, it prints with brackets...... More


Attached Files

.py   Pytest1.py (Size: 438 bytes / Downloads: 354)
.csv   csvtest2.csv (Size: 56 bytes / Downloads: 325)
Print this item

  Find last filled column in openpyxl
Posted by: Irv1n - Jan-14-2022, 06:22 PM - Forum: General Coding Help - Replies (2)

I work with excel file and know filename and sheet name of this file. How i can search last filled column and insert my data in next column of this fi..... More

Print this item

  Different out when using conda list and pip list
Posted by: Led_Zeppelin - Jan-14-2022, 06:05 PM - Forum: General Coding Help - Replies (1)

What does it mean when pip list and conda list return the same file in my case numpy, but with different versions?

pip list
numpy 1.20.2

conda ..... More

Print this item

  Tic Tac Toe problem
Posted by: JustDarkWTF - Jan-14-2022, 06:02 PM - Forum: Homework - Replies (2)

I have been doing a work on Tic tac toes but I need help with the positioning I have set that when I press a button I draw a circle or an X but the pr..... More


Attached Files

Thumbnail(s)
       
Print this item

  Bakery Problem.. Can you Help My Homework
Posted by: Cemvrs - Jan-14-2022, 05:28 PM - Forum: Homework - Replies (1)

[Image: 26dox3p]
[Image: 26doxkd]

help Please


https://prnt.sc/26doy3u
https://prnt.sc/26doxkd

Print this item

  How is it possible to work with Python more regularly?
Posted by: JgKSuperstar - Jan-14-2022, 05:23 PM - Forum: General Coding Help - Replies (1)

Hi, I want to separate my work from folder to folder. For example, pictures are in a separate folder, designs in a separate folder. But Python won't l..... More

Print this item

  Unwanted format carryover
Posted by: hammer - Jan-14-2022, 05:17 PM - Forum: GUI - Replies (1)

Updating a class attribute from a Kivy Textinput.text copies over an unexpected format.
Below i am sorting through the child widgets to expose the o..... More

Print this item

  Delete files from amazon s3 bucket
Posted by: python_student - Jan-14-2022, 04:51 PM - Forum: General Coding Help - No Replies

I am trying to delete all files from amazon s3 bucket before executing other tasks that will ingest data.
Basically delete files before uploading new..... More

Print this item

  Is it possible to open windows and do screenshots with Python?
Posted by: cubangt - Jan-14-2022, 01:41 PM - Forum: General Coding Help - Replies (2)

So just trying to see what is possible or if its worth it to try within python.

So during our testing, there are times we need to capture before, d..... More

Print this item

  function with 'self' input parameter errors out with and without 'self' called
Posted by: dford - Jan-14-2022, 01:06 PM - Forum: General Coding Help - Replies (12)

Hi,

I've got something that just cropped up. This is not a tkinter question, though I'm using tkinter in the app. I've got some functions that ar..... More

Print this item

  A plea for help
Posted by: Waylander - Jan-14-2022, 11:08 AM - Forum: General Coding Help - Replies (5)

Hi All

I am a old fella in need of some help,

can I put some background first.

We have a bespoke support ticketing system, that uses a Python..... More

Print this item

  Finding files matching pattern
Posted by: GrahamL - Jan-14-2022, 11:03 AM - Forum: General Coding Help - Replies (1)

Hi
From a given folder I want to find all files matching this pattern *Tests.dll
In addition these files must be in a directory called Release
In m..... More

Print this item

  please help with classes and return values
Posted by: jamie_01 - Jan-14-2022, 03:51 AM - Forum: General Coding Help - Replies (5)

[code]
#!/usr/bin/python3

import module

class StartProgram():
def display1(self):
print("This is superclass")

def function..... More

Print this item

Question How to get html information from a tab of my default browser opened with webbrowser?
Posted by: noahverner1995 - Jan-14-2022, 02:32 AM - Forum: General Coding Help - Replies (2)

I have tried to figure out how can I get html information (such as h1 tags) from a new tab in my default browser that was opened with..... More

Print this item

Question Is this the appropriate forum for MariaDB/MySQL threads?
Posted by: BrandonKastning - Jan-13-2022, 11:30 PM - Forum: Data Science - No Replies

Is this the appropriate forum for MariaDB/MySQL threads? Or would General be more suitable?

I have some obstacles regarding MariaDB/MYSQL and want ..... More

Print this item

  Invalid syntax with an f-string
Posted by: Mark17 - Jan-13-2022, 10:44 PM - Forum: General Coding Help - Replies (7)

I'm getting invalid syntax with Python showing a carrot under the first colon. What did I do wrong?

[Python]
print({}, ",", {..... More

Print this item

  unable to load an image with C (Cython)
Posted by: HLD202 - Jan-13-2022, 09:14 PM - Forum: General Coding Help - No Replies

Hello, I just learn about cython todays and im trying to play with it and now im trying to load and image from local storage with .pyx extension but i..... More

Print this item

  ttk extension (Tutorial Series)
Posted by: Knight18 - Jan-13-2022, 08:39 PM - Forum: Tutorial Requests and Submissions - Replies (1)

As an Add-on to my Tkinter Series, I recently came up with a ttk tutorial series[/u[url=https://python-forum.io/thread-36060.html]..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 6 minutes ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... 1 hour ago tsgiannis Gribouillis GUI
  [split] print two differe... Today, 05:37 Reema Gribouillis General Codin...
  Data Science Today, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [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
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
Most views
  The best Prog... 578747
  Tutorial Requ... 509509
  Web Scraping ... 441879
  Newbie with P... 385847
  New Users Int... 375455
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+ 12102
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
thebigback Today
dimitriwati Today
johnsonlucas83 Today
ColorTig Today
AcoolPurpleOne1863 Today

User Panel Messages

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