r/PythonLearning • • Jul 28 '26

Help Request Learning Python

9 Upvotes

Hey , I am learning python ( electrical Engineer with no prior coding experience).

I have gone through the basics but still having difficulty writing the code. It seems like my brain freezes while writing the code.

I don't find the issue in logic and all, but writing code seems very difficult

Any suggestions how to overcome this issue.


r/PythonLearning • • Jul 27 '26

Not sure why it is not multiplying correctly

Post image
40 Upvotes

Just started programming today and was messing around when this happened. It is saying that 22.99 * 5 is 114.9499999999999 instead of 114.95. It does the same when I enter any number with a non-zero integer after the decimal. It works completely fine with whole numbers though. If you have any Idea why, please let me know.


r/PythonLearning • • Jul 28 '26

Help Request Help or tutoring

5 Upvotes

I'm looking for someone who can help or guide me with a Python project. I'm completely new to programming and genuinely want to learn.

So far, I've been working with code generated by Gemini. The code seems fairly simple (or at least I think it is), and my goal is to understand how it works. I want to keep modifying it, experimenting with it, and adding new features, but I'm running into a problem: AI can generate or explain things, but I don't know enough yet to understand what I should change or why. I'm short on time, so I wasn't able to learn everything from scratch before starting this project. That's why I turned to AI in the first place.

Now I'm looking for someone who can guide me through the code I already have, explain how it works, and help me learn while improving it. I'd really appreciate any advice on where to start, what to study, or how to better understand Python and the code I'm working with.

We can talk on Discord if that's easier. Also, I'm just starting to learn English, since my native language is Spanish, so I appreciate your patience. 🙂


r/PythonLearning • • Jul 28 '26

Discussion I'm building an open-source Python library focused on reusable building blocks.

0 Upvotes

Visit: https://github.com/AnshMNSoni/PythonSTL.git

Instead of adding more algorithms, I want to solve real problems Python developers repeatedly face.

I'm curious:

  1. What utility do you find yourself implementing over and over?
  2. What functionality do you wish Python's standard library already had?
  3. What do you usually copy from previous projects?

Examples could be caches, schedulers, retry logic, rate limiters, streaming utilities, search structures, etc.

I'd love to understand the pain points rather than propose solutions.

Let's discuss...


r/PythonLearning • • Jul 27 '26

My first mix mini project

Post image
307 Upvotes

I know I wrote some hardcore codes but this is ok for a beginner so plz help me to improve


r/PythonLearning • • Jul 28 '26

Trying to learn by doing. Any suggestions are gladly accepted!

0 Upvotes

Too many tutorials and too little coding by myself has left me feeling like I am learning nothing. Trying to learn slowly by creating some projects, specifically without the use of AI. For this, I am building a simple focus timer that will run in the terminal. Something that I can use for myself but also helps me learn more. I do want to add more features such as other timer modes, persistent storage (to track focus sessions) and a better means of keeping time besides just using 'time.wait'. Want to ensure I am wary of any pitfalls I may be succumbing to, as well as suggestions for improvements. Thank you!


r/PythonLearning • • Jul 28 '26

Which underrated Python library do you wish more developers knew about?

2 Upvotes

r/PythonLearning • • Jul 28 '26

Created my first database with psycopg2.

0 Upvotes

Using psycopg2 made me realize how much work SQLAlchemy was doing for me. Although implementing the queries was a bit complex at first, it gave me a lot of control over customizing things to fit my application best.


r/PythonLearning • • Jul 28 '26

Help Request Python Code for Rock Paper Scissors.

0 Upvotes

I've been tasked with making Rock Paper Scissors as a revision task to get into my next class after Summer Break. However, I keep getting weird errors with my code (no syntax errors).

Any ideas on what to do?


r/PythonLearning • • Jul 21 '26

Discussion Anyone else feels like tutorials don't teach 'real' python

32 Upvotes

Hey

Quick question for the group.

I’ve been coding in Python professionally for 5+ years. Backend with FastAPI, some startup work too.

What I keep seeing is this: people learn loops, functions, OOP... and then hit a wall when they try to build and ship something real.

Because no one teaches the "in-between" stuff:

- Project structure

- Clean, maintainable code

- APIs, DBs, authentication

- Testing, logging, deployment

- Git

- Building AI features into apps

I’ve been toying with the idea of doing a few 1:1 mentoring chats on the side, just to walk through these things with people and help based on their specific goals.

Not selling anything, just wondering if that would actually help anyone here.

For those learning right now: what’s the hardest part for you? Is it the code, or is it figuring out how to turn it into a real project?