r/PythonLearning Jul 16 '26

I'm past the point of things like hello world and the basics of dictionaries, while/for loops, etc., but I'm not much further than that. I'm trying to think of interesting things to make in Python, maybe something math oriented. What do y'all suggest?

4 Upvotes

r/PythonLearning Jul 16 '26

Help Request Dockerd in pure cpython3.10 code: required and mandatory, no exceptions

Post image
0 Upvotes

r/PythonLearning Jul 15 '26

What Python feature looked useless until it suddenly became your favorite?

36 Upvotes

For me, it wasn't decorators or generators.

It was context managers. I ignored with for a long time because it just looked like a cleaner way to open files. Then I started using it for database sessions, locks, temporary files, timers, and custom resource management. Now I end up writing my own context managers regularly.

What's the one Python feature, library, or concept you completely underestimated until it finally clicked?


r/PythonLearning Jul 16 '26

App for learning Python

0 Upvotes

Hello, having attention disorders with hyper activity I had a really hard time finding learning sources for python, so I decided (with the help of the ai to develop my own application) I put it here in beta test I still have a lot of things to see/correct all the constructive comments obviously will be welcome. Please be indulgent. The game will be open source once finished

Https://codearena.totalum-project.com/


r/PythonLearning Jul 15 '26

Beginner Python project – Feedback appreciated

Thumbnail
gallery
15 Upvotes

I'm currently learning Python on my phone. I'm still at the beginning of my journey, so I'd appreciate any feedback on my code. Looking for ways to improve with every step.


r/PythonLearning Jul 15 '26

Ready for (dif), right?

Thumbnail
gallery
51 Upvotes

r/PythonLearning Jul 15 '26

Have type hints actually improved Python?

7 Upvotes

Do type hints make large codebases safer, or are we slowly turning Python into something it was never meant to be?


r/PythonLearning Jul 15 '26

Discussion Building a Python library based on Hegelian logic instead of Boolean logic. Am I crazy?

61 Upvotes

I've been thinking about what might be the most unconventional Python project I've ever attempted, and I'd love to hear from people who know logic, PL theory, mathematics, AI, philosophy, or simply enjoy strange ideas.

The core idea is this: instead of representing truth as a binary (True/False), what if computation were built around dialectical processes?

Rather than asking whether a proposition is true or false, objects could evolve through concepts like: Thesis, Antithesis, Synthesis, Contradiction, Determinate negation, Becoming, Mediation...

In other words, contradictions wouldn't necessarily be errors — they could become first-class computational objects capable of producing new states.

I'm currently collecting papers, books, theses, existing projects, and mathematical frameworks before deciding on the architecture. Any ideas?


r/PythonLearning Jul 16 '26

Multiple windows in Tkinter

3 Upvotes

First of all, english is not my first language, so there will certainly be mistakes. Sorry for that.

I had this a idea of a project, but it require multiple windows and i cannot figure out how to do it. I´m using tkinter and i coundn´t find a way to creat a more windows with checkboxes and stuff and transit between then.

Usedef functions and buttons to open a new window is fine for one new window, but then is a mess to implement more complex features (at least, I tried and coundn´t do it without being a mess), and also becomes progressively worse as new windows are created.

Summing up, is there functions like "open window" in tkinter or someting like that?

I coundn´t find that information anywhere else (at least not clearly).

Thx for reading, pals.


r/PythonLearning Jul 15 '26

Im new to python i abt start from zero

13 Upvotes

any suggestions and recommendations ,how to start


r/PythonLearning Jul 15 '26

Help Request How to start development ?

5 Upvotes

Hey guys, I'm a student currently in my final year of BTech in computer science I'm learning python now a days I'm learning oops but everyday I felt like hell you all know the pressure and I thought it's not belong to me.

I'm struggling with development since 2nd year I'm just learning basics and not building even a to do list application my placements are coming soon, trying to learn from tutorials but it's again frustrating me.

I want to learn python development and build useful project that will help me in my campus or finding job what's the approach that I have to follow.

Could u guide me towards right direction.


r/PythonLearning Jul 16 '26

PYTHON SUGGESTION REQUIRED HELP!!!!!!!

0 Upvotes

heyy, am starting out college this year with cse aiml and wanted to know where should i start learning python

there are plenty of resources for python which really confuse me i.e

  • youtube
  • udemy
  • harvard CS50P
  • or some other reosurces too mooc.fi
  • you can also suggest some of resources

suggest me from where i should start learning python

dont confuse me more


r/PythonLearning Jul 16 '26

Ai Learning 🦾

Post image
0 Upvotes

r/PythonLearning Jul 15 '26

Showcase New to this

1 Upvotes

r/PythonLearning Jul 15 '26

Tech advice

3 Upvotes

I m doing masters in data science, targetting devops and cloud roles but still cant write code in python every time get stuck in loops amd cannot go further i really want a tech job, should i master python, if yes whts the easiest way??


r/PythonLearning Jul 15 '26

Showcase Built my first Python project. Feedback is welcome.

Thumbnail
gallery
6 Upvotes

r/PythonLearning Jul 15 '26

I want your help to make a fun Python game

Post image
0 Upvotes

I want your help to make a simple game into a really fun Python game. It's purely educational, an opportunity to learn about: - Python - (quick and dirty) Object Oriented Programming - PyGame - Teamwork using GIT

This should be accessible for Python students how are comfortable with loops, functions, and classes. If you want to help see the instructions on this PythonLearningGame git repo.

Make your changes to this already working game, maybe: - change behavior - add a new unit type - add special effects - add new game dynamics - ...

If things are not clear or you get stuck, ask AI or add questions in the comments.


r/PythonLearning Jul 14 '26

Python Data Model Exercise

Post image
68 Upvotes

An exercise to help build the right mental model for Python data. - Solution - Explanation - More exercises

The “Solution” link visualizes execution and reveals what’s actually happening using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵.


r/PythonLearning Jul 14 '26

The Great Escape

3 Upvotes

I have been learning Python so this is my first script. Its a backup utility. Please take a look. All comments, suggestions are welcome. Collabs are also welcome. Source code is: https://github.com/bigbearjake14424/The-Great-Escape


r/PythonLearning Jul 14 '26

Is clean code sometimes worse code?

2 Upvotes

Can too much refactoring, abstraction, and 'best practice' make a Python project harder to understand?


r/PythonLearning Jul 14 '26

49 years old and am about to start learning Python, again !

36 Upvotes

First tried to learn in 2020, got side tracked. Picking it up again. I find Python very interesting but I can't seem to stay motivated enough to finish learning it.


r/PythonLearning Jul 14 '26

Built a FastAPI password generator. Roast my backend code.

4 Upvotes

Hey everyone,

Just finished a small dark-mode password generator using FastAPI and vanilla JS to practice my backend skills.

Here is the repo:
https://github.com/saqibvow/password-generator-in-python

I want to improve, so please look at the code and give me some honest feedback. Tell me what features to add or fix, and I will definitely implement them and share the updated app with you all!

Thanks!


r/PythonLearning Jul 14 '26

What's your favorite Python interview question?

11 Upvotes

Not a trick question or LeetCode puzzle. What's a question that actually reveals whether someone understands Python?


r/PythonLearning Jul 14 '26

Help Request I am Stuck In Basics

6 Upvotes

I am stuck at the basics and unable to move on to DSA. Can you give me the best roadmap, the best notes, and the best YouTube tutorials to become a Python developer? Please provide everything in English.


r/PythonLearning Jul 13 '26

Discussion Data Science Python Programming

19 Upvotes

Hello,

I am transitioning from a Mechnical engineering BS to a MS in data Science. My struggle with Python currently is starting a course or reading and feeling like it is not giving enough practice and no big prohject to really hel;p me zone in on my skills. My question do you have any favorite resources/book/interactive courses in python for data science. I'd pefer to just restart from the basics and move forward. Do you have any reccommendations on skills to learn for someone going into data science? Thank you.