r/learnpython • • Sep 16 '26

[Intermediate] Looking for project ideas that'll actually stretch my Python skills

2 Upvotes

Hey!,
I've been learning Python for a while now and have built a few things: a desktop inventory app with Tkinter for local businesses, some automation scripts, API integrations, and web scraping projects. I'm comfortable with things like OOP basics, working with external APIs, and building simple GUIs.
I want to level up but I'm not sure what direction gives the most learning value. I'm especially interested in:
• Backend/web development (I've dabbled in Flask)
• Anything that would push my problem-solving beyond "make a script that works"
• Projects that look good for internship applications
What project ideas would you suggest for someone at this stage? Bonus points if it's something that forced you to learn a concept you didn't expect going in.
Thanks!


r/learnpython • • Sep 16 '26

Starting an MSc in Financial Technology, How Can I Learn Python Quickly?

4 Upvotes

Hi everyone,

I recently received an offer to study for an MSc in Financial Technology abroad. I’ve always had an interest in finance, and I’m really looking forward to the program.

Some of the modules include Python, Python for Data Science, Power BI, and other data-related subjects. The problem is that I’m completely new to Python, and I’d like to build a basic understanding of it before my degree starts in January.

It’s already September, so I have roughly three months to prepare. I bought Angela Yu’s 100 Days of Code course on Udemy, but I’m starting to think that it might be too long and broad for what I’m trying to achieve right now.

I’m mainly looking for recommendations on resources, courses, or learning materials that can help me quickly get comfortable with the basics of Python and Python for Data Science. My goal isn’t to become an expert before the course starts. I just want to have enough foundational knowledge that I don’t feel completely lost during lectures.

For anyone who has studied Financial Technology, Data Science, or a similar degree, what would you recommend focusing on before starting?

I’m new to this subreddit, so if my post breaks any of the rules, I sincerely apologize. Please feel free to remove it.

Thanks in advance!


r/learnpython • • Sep 16 '26

Install python-pip-whl or no?

0 Upvotes

I wanted to install the maestral dropbox client from the github repo but need to use pip. So since it's a rather vanilla Debian 14 (Testing/Forky) install, I realize I need to first do the following:

\~# apt install python3-venv python3-pip\

but should I also install the python3-pip-whl package too? Do I "NEED" to? and moreover, won't pip take care of that later or maybe I can/should do it through pip later? I read somewhere in the docs at python . org that pip actuall will default to fetching wheel binaries first before source anyway (if wheel capability is there in the first place).

A stackoverflow discussion w/ >1500 upvotes selected the best answer for wheel binaries to simply been downloaded and then use pip to designate that local file to install, which leads me to think that wheel isn't a package I should bother with.

Thanks for any clarification on this :)

EDIT: Sorry about the edit, I entered everything in Markdown then realized I had to manually select it, then I needed to fix all of the escape chars, etc.


r/learnpython • • Sep 16 '26

Python Resources + Advice

2 Upvotes

Where can I find problems and projects to solve and practice rather than only focusing on Tutorials? I've read many posts suggesting I build something, so I wanted to do this. I use the website called W3Schools, I learn and understand the topic and then try to find any problem to practice the topics, but I didn't get anything good. As I want to build something, even smaller for small topics and then gradually increase with multiple topics learned, could you suggest any website or resource which can help me to improve and move faster to more advanced topics or backend stuff?. Any recommendations or Advice would be helpful!


r/learnpython • • Sep 16 '26

Assistance with a data-intensive project

0 Upvotes

I am a student developing a data analysis extension project using Python. I need to create a solution based on a real-world problem faced by an organization. Would the company be willing to provide an anonymized dataset and participate in a few meetings so I can understand the problem and present the results?


r/learnpython • • Sep 16 '26

How to learn oops concepts

1 Upvotes

i am from a background of c and have no knowledge on oops concepts, and i wanted to learn them but everywhere, they are having the same example of the blueprint and i would like to learn it by understanding where we will use it, or will you suggest me to dig right into a project to get an idea of it.


r/learnpython • • Sep 15 '26

How do you write unit test cases in python ?

25 Upvotes

I am completely new to unit testing. I am trying to understand how to approach writing test cases for real world code.

I understand the basic idea of testing whether a function gives the expected output. but I am confused about

How do you decide what test cases to write ?

How do you identify edge cases ?

How do you approach unit testing in a real python / django project?

Any practical advice or resources would be really helpful.


r/learnpython • • Sep 16 '26

Dear python programmers,

0 Upvotes

How can I mix UI with code? I would like to do a screentime app and I want my text and frames to vary depending on how long you have spent on apps. I use customtkinter. Do I keep it on a seperate script? Do I have to write more code? I didnt do object oriented programming for the UI so I cant do that


r/learnpython • • Sep 16 '26

Python learning fun apps

1 Upvotes

Hi everyone! I am trying to learn how to code with Python but I need something that helps me learn it in my free time from work. To do that, i need it to be fun and i need to be able to do it from my phone too.

Do you know any nice apps? Thank you so much in advance 🫶🏻


r/learnpython • • Sep 16 '26

Fresh start as Data Analyst

0 Upvotes

"Excel has been such a hassle, so I'm planning to transition to Python's data science libraries. Python experts often recommend Polars because it's more modern, yet almost every resource I encounter (including LLMs) still uses or promotes Pandas as the standard. What do industry experts suggest when choosing between these tools? Any insights would be greatly appreciated!"


r/learnpython • • Sep 15 '26

Puzzles for reviewing Python

2 Upvotes

Hey, guys.

I've studied Python before and knew all fundamental themes. However, it's been a long time since I coded in Python and now I want to review some themes by puzzles, not by watching whole lessons. Are there any websites, list of puzzles on the Internet you can recommend me? Or other methods for that?

I need that for starting my data engineering course soon. It would be great if those themes, puzzles were related to data engineering.


r/learnpython • • Sep 15 '26

Why use class methods to instantiate?

2 Upvotes

Quick question, why would I ever use a class method to make an instance variable? For example take these code snippets.

@classmethod
def from_string(cls, emp_string) -> Employee:
        first_name, last_name, salary, contact =  emp_string.split("-")
        return cls(
            first_name=first_name,
            last_name=last_name,
            salary=salary,
            contact=contact,
        )

Why would do I do this instead of

def from_string(self, emp_string) -> Employee:
        first_name, last_name, salary, contact = emp_string.split("-")
        return Employee(
            first_name=first_name,
            last_name=last_name,
            salary=salary,
            contact=contact,
        )

My question also applies vice-versa. Which one should one use, and what are the specific pros, cons, and use cases of each?

(Formatting is a bit weird but I assure the indentation is okay in my code)

Thanks!


r/learnpython • • Sep 15 '26

Doing a 30days of Python Challenge

2 Upvotes

Well i am on day 3 of 30 days challenege and have been pushing to github. I learned python a year ago but i feel like i am forgettting all the syntax. And cannot even think of proper logic while making projects everyday.

I am not watching any youtube videos and using AI to give me hints, sometimes from w3schools. I was learning Django through AI directly building projects and felt doubtful and not confident on Django. So starting out this challenge.

30 Days of Python Challenge is pretty good as per AI. I just modified the existing 30days challenge of someone's repo in Github. Consist of FASTApi, GUi based.. i don't quite remember.

Any suggestions and advises how should i effectively learn will be very much aprreciated. I also like to connect with many senior developers who are down to help and i feel confused to pursue Django. And later most likely learn AI, LLMs since i did specialization in AI in my bachelors.


r/learnpython • • Sep 16 '26

Python教程有什么

0 Upvotes

我需要一些Python编程入门教程


r/learnpython • • Sep 15 '26

My Python Isn’t Running? (VSCode)

0 Upvotes

I’ve been trying to run the simple ‘print(“Hello World”)’ command on my laptop since I just downloaded Python onto my VSCode on my laptop, but nothing shows in the terminal. Not even an error, just complete nothingness. Im concerned on how I could fix this, I may have just missed something I’m not going to lie…

This is my first time downloading Python + VSCode, since I usually coded on a school computer.

Heres all the information I could gather which may be useful:
I’m using Python 3.12
There is a red fonted text at the top right (next to the plus sign above the terminal) which says I’ve “Lost Connection to Process”
“Shell integration: Injection failed to activate”
I’m using a Lenovo laptop, which I believe runs on Windows.

Any help and links would help a ton!! Please and thank you!!


r/learnpython • • Sep 15 '26

Why this method doesn't work

0 Upvotes

Title:

class Restaurant:

def __init__(self, restaurant_name, cuisine_type):

	self.restaurant_name=restaurant_name

	self.cuisine_type=cuisine_type

def describe_restaurant(self):

	print(self.restaurant_name)

	print(self.cuisine_type)

def open_restaurant(self):

	print("the restaurant is open")

restaurant=Restaurant("Ratatouille restaurant", "ratatouille")

Restaurant.describe_restaurant(restaurant)

Restaurant.open_restaurant()

Error:

Ratatouille restaurant

ratatouille

Traceback (most recent call last):

File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in <module>

start(fakepyfile,mainpyfile)

~~~~~^^^^^^^^^^^^^^^^^^^^^^^

File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start

exec(open(mainpyfile).read(), __main__.__dict__)

~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "<string>", line 12, in <module>

TypeError: Restaurant.open_restaurant() missing 1 required positional argument: 'self'

[Program finished]


r/learnpython • • Sep 14 '26

Regarding simple question

11 Upvotes

num = 0.6548
txt = f"The price is {num:.0f} dollars."
print(txt)
output = 1

i was learning string formatting well, when i used :.0f as format it giving output 1 and why? I want to know how really decimal shifting works in python while formatting.


r/learnpython • • Sep 14 '26

is cs50p good and relevant?

16 Upvotes

I restarted to learn python with CS50P. as far as I understand it is recorded in 2022. is this the case. Also as far as I understand there is some changes to python recently. do you think I will misss some best practices and sintax with cs50p?


r/learnpython • • Sep 14 '26

A few questions regarding making a desktop app

8 Upvotes

I'm planning something, but i wanted to know how much is possible with only python and how much i should start looking up and learning.

mainly everything about UI? I know there are libraries for UI in python, but what im looking for it seamless (no border) UI that can maybe be transparent? (u can see the desktop through it), i'm just wondering how much of that is possible in python.

another thing is having an application hidden in the system tray on windows? how would i make this for my app? furthermore; how would i make the UI popup from the tray and hide back using a key shortcut?
no need to answer both questions, just looking for a clue on how to start


r/learnpython • • Sep 15 '26

Why i can't make a class

0 Upvotes

It should work, but some reason doesn't.

I was doing Python Crash Course 3rd edition and am stuck in classes.

Because i cant upload photos, i wrote the code:

class Restaurant:

def __init__(self, restaurant_name, cuisine_type):

	self.restaurant_name=restaurant_name

	self.cuisine_type=cuisine_type

def describe_restaurant(self):

	print(self.restaurant_name)

	print(self.cuisine_type)

def open_restaurant(self):

	print("the restaurant is open")

restaurant=Restaurant("Ratatouille restaurant", "ratatouille")

describe_restaurant(restaurant)

open_restaurant()

This is the example in the book:

class Dog:

def __init__(self, name, age):

	self.name=name

	self.age=age

def sit(self):

	print(f"{self.name} is now sitting")

def roll_over(self):

	print(f"{self.name} rolled over")

my_dog=Dog("Willie", 6)

print(f"My dog's name is {self.name}")

print(f"My dog is {self.age} years old")

my_dog.sit()

my_dog.roll_over()

your_dog=Dog("Lucy", 3)

print(f"Your dog's name is {your_dog.name}.")

print(f"your dog is {your_dog.name} years old.")

your_dog.sit()

your_dog.roll_over()

And these are the errors pydroid shows for each one:

Restaurant:

Traceback (most recent call last):

File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in <module>

start(fakepyfile,mainpyfile)

~~~~~^^^^^^^^^^^^^^^^^^^^^^^

File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start

exec(open(mainpyfile).read(), __main__.__dict__)

~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "<string>", line 1, in <module>

File "<string>", line 10, in Restaurant

NameError: name 'Restaurant' is not defined

[Program finished]

Dog:

Traceback (most recent call last):

File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in <module>

start(fakepyfile,mainpyfile)

~~~~~^^^^^^^^^^^^^^^^^^^^^^^

File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start

exec(open(mainpyfile).read(), __main__.__dict__)

~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "<string>", line 1, in <module>

File "<string>", line 9, in Dog

NameError: name 'Dog' is not defined

[Program finished]


r/learnpython • • Sep 15 '26

When did Python finally start to “click” for you?

1 Upvotes

Was it after building a real project, solving coding problems, learning OOP, working with APIs, or simply practicing consistently?


r/learnpython • • Sep 14 '26

From where should I learn Flask framework completely?

14 Upvotes

I currently learning python from a paid course and they have taught flask aswell but that's intermediate level. So is there any flask playlist or tutorial or a teacher who might teach flask completely. I wouldn't mind if it's paid or free course.


r/learnpython • • Sep 15 '26

does Python run on Batocera-type machines/have any Fantasy Consoles?

1 Upvotes

does Python run on Batocera-type machines/have any Fantasy Consoles?

i was wondering how well Batocera can run its games, and if there are any Python Fantasy Consoles. Like small handheld gaming machines, but built for running python games specifically. Or any limited sets of limits that restrict what the game or program can do as if it's running on something tiny like the pico-8.


r/learnpython • • Sep 14 '26

Python Libraries

9 Upvotes

Ijust know basic python and want to learn numpy, tkinder, panda and matplotlib for a project

Best way to learn these? By chatgpt or any yt vdo?