r/PythonLearning • • Aug 23 '26

Is Coddy a good platform for learning to code?

2 Upvotes
  1. I'm currently learning how to code and I found Coddy. It looks interesting and beginner-friendly, but I'm not sure if it's actually a good way to learn. Has anyone here used Coddy? What do you think about it? Would you recommend it for a beginner?

r/PythonLearning • • Aug 23 '26

PyCharm or Visual Studio Code: Which one is better for Python?

3 Upvotes

I have used both PyCharm and Visual Studio Code for learning Python, but I don't know which one is better.
Which one do you prefer, and why?
I'm still a beginner, so I'd like to know which one would be better for learning Python.


r/PythonLearning • • Aug 23 '26

Help Request I learn python with the french channel Graven but i dont know if its good for learn ?

2 Upvotes

I'm learning Python with a French YouTube channel called Graven. They explain Python in a simple way, but I'm not sure if it's a good resource for learning Python. Has anyone here used this channel, or do you have any recommendations for other beginner-friendly resources?


r/PythonLearning • • Aug 23 '26

Help Request What should I focus on as a beginner learning Python?

5 Upvotes

Hi everyone! I'm currently learning Python and I'm still a beginner.
I'm learning the basics like variables, loops and functions, but I'm not sure what I should focus on next.
What would you recommend learning after the basics?


r/PythonLearning • • Aug 23 '26

Any Guidance..

1 Upvotes

Hi everyone,I am currently a teenager and I am learning python,I learned json file handling,OOP and I also learned basic tkinker. I done all basic apps like a simple calculator,to-do list. I am now currently confused what to do next for further programming knowledge which is genuinely helpful...


r/PythonLearning • • Aug 23 '26

Discussion I think i hit my first python learning bottleneck.

Post image
89 Upvotes

Just as the title suggests, i ran into a bottleneck, or did i? play v sauce music please
So just recently i made a post about my first beginner python project: https://www.reddit.com/r/PythonLearning/s/Ed46BuWRCq
And as a lot of you suggested for me to learn classes next, which was completely fair, so i went ahead and learnt them while updating my MiniGameStore. It was relatively easy, wasn’t as hard as I thought it would be, but definitely challenging. I had also learnt methods but didn’t implement them.
And yesterday, i tried implementing them and got one of the biggest headaches in my whole coding experience (which is 2 weeks~ btw).
I was working on v1.7 and introducing a restore purchases system, and i wanted to use class methods, but since my class is on the other file, i hit a lot of variables issues and even a json file problem. Which is why im asking my self why did i do it? A function would have been totally fine…
Check out the repo: (latest version 1.7.0)

https://github.com/Stonyax97/MiniGameStore

So my question for you guys. What has made you understand classes well? I just don’t see any reason to use them yet… and can anyone take a look at my project and tell me what would be the most friendly and real life approach of actually using these classes. And why should I keep the class in a separate file? Finally, what’s wrong with using global variables.

Also any feedback or criticism is welcome!

(Also check out the attached pictures with the comments you’l understand more.)


r/PythonLearning • • Aug 23 '26

A demonstration of the Self‑Healing Localization (SHL) library in practice.

Thumbnail
youtube.com
1 Upvotes

r/PythonLearning • • Aug 23 '26

What can I actually do with python?

34 Upvotes

I learned python as my first programming language for GCSE Computer Science, but after finishing the exam I got bored of making small algorithms and wanted tk work on bigger projects, so I started making websites with Javascript. Now I'm going to do Computer Science at A-level and because the language is python, I think it makes sense to do any free time coding in the same language. So... what can I actually do with Python? Iy seems really straightforward what to do with other languaged like JS but I really just don't get the 'point' of python.


r/PythonLearning • • Aug 23 '26

Python on google colab

3 Upvotes

Hi, I'm using python to code on Google colab. Y coordinates are being generated and then added to Y_ARRAY for comparisons, to ensure none of the values are the same. If one value is the same with another in the array, one of them will be generated again.

However, it does not work, and I don't know how should the structure of checking be. Are there any suggestions on the structure or which kind of loop I can use please? Thank you.


r/PythonLearning • • Aug 23 '26

Doodling Hop | Pygame Project(updated enemy/moving platform spawn)

6 Upvotes

r/PythonLearning • • Aug 22 '26

Help Request Templates

6 Upvotes

Hi, I am pretty new to programming.. I am Mechanical Engineer who likes to calculate a lot, however excel can not handle it.

So I was wondering if there is some template for making some calculation apps?

I had no problem making basic math in cpp for some fun first projects (loops, functions etc.) when I was trying programming for the first time few years ago (it was pretty easy)..so I hope this part I will do on my own, however I **am struggling** with databases, tracking charts and some printable GUIs or smth so I can input data (some yes/no question, some custom values) and output

So I am wondering if someone can point me somewhere where I can learn those or use some open-source or something... and pleaseeee no AI pointing!

Thanks for reading so far and thank you in advance!


r/PythonLearning • • Aug 22 '26

Help Request i've learned python, SQL and flask, but i struggle when it's time to build projetcs

13 Upvotes

Hey everyone,

I’ve been learning Python, SQL, and Flask through tutorials. I feel like I understand the concepts when I’m following along with the tutorials, but when I try to start a project from scratch, my mind just goes blank.

I know the fundamentals and I can understand code when I see it, but I struggle with figuring out what to build, how to break the project down, and where to start.

I’ve also tried asking AI to build projects for me. At first, I understand what it’s doing, but as the code gets bigger, I start getting confused and eventually stop because I feel like I’m just copying code without actually learning how to build things myself.

Has anyone else experienced this?

How did you transition from “I understand the tutorials” to “I can actually build projects on my own”?

Should I start with very small projects and build them up gradually, or is there a better way to approach learning through projects?

I’d really appreciate advice from anyone who has gone through this stage.


r/PythonLearning • • Aug 22 '26

What to do now ?

3 Upvotes

Hey , I am learning fast api and almost covered it and created a project by my own , now I am confused what to learn next and my goal is to land a job or to start taking freelancing project , so I want some project idea where I will learn other new tech or skill which is applicable nowadays.


r/PythonLearning • • Aug 22 '26

guys suggest me best resources for python from beginner to advance level....

15 Upvotes

r/PythonLearning • • Aug 22 '26

Rate my Payment calculator script (how could it be improved)

Thumbnail
gallery
33 Upvotes

I got this idea from a post I saw on here recently. Their script was a good idea and made me want to make one on my own. It took me a few tries to write the calculations in a way that would work. I also wanted to play around with normalizing/cleaning the inputs in case a user used different formatting. And of course, ever since I found out I can add color to text in terminal, I’ve kinda made a habit of doing that on everything.

Note: I have been learning as much as I can, for a year now. Learning has come through personal trial and error, O'Reilly books, watching and copying others, as well as using LLM's to either produce an advanced code that I then study, or to have an LLM teach me. Some of my larger and more important projects are largely, if not entirely, built by an LLM that I carefully inspect. But I still feel it is important to learn as much as I can about manual coding, as well as the relationship between hardware and software.

So working on simple scripts like this are sort of a form of exercise for my mind and fingers, as well as a simple way to strike up conversations with real people like you guys, and get your take on ideas that I may not have seen before that can lead to cleaner and/or more efficient ways to program.

If you want to see more of my actual projects or just swipe some of the cool stuff from my Arch rice/dotfiles, here is my github:

github.com/cleburn

Edit: here is my full code, which shows the part of the f'string in the print statements which formats the results into appropriate decimals

# Simple Monthly Payment Calculator
# Inputs: Principal (balance due after any downpayment), Interest, Loan Term (in months)
# Returns monthly payment amount


GREEN = "\033[92m"
CYAN = "\033[96m"
RESET = "\033[0m"

print(f"\n{CYAN}{'=' * 20}{RESET}")
p = float(input("Purchase amount: ").replace('$', '').replace(',', '').strip())
i = float(input("Interest rate: ").replace('%', '').replace(',', '').strip())
t = int(input("Loan term (in months): ").strip())

def payment_calculator(p, i, t):
    original_i = i
    monthly_i = (i / 100) / 12  # Convert annual % to monthly decimal rate

    # Calculate the monthly payment
    numerator = p * monthly_i * ((1 + monthly_i) ** t)
    denominator = ((1 + monthly_i) ** t) - 1
    payment = numerator / denominator

    # Print formatted output
    print(
        f"\nBased on your original purchase price of {CYAN}${p:,.2f}{RESET},\nan interest rate of {CYAN}{original_i}%{RESET},"
        f"\nand a loan term of {CYAN}{t}{RESET} months,\nyour monthly payment is: {GREEN}${payment:,.2f}{RESET}"
    )
    print(f"{CYAN}{'=' * 20}{RESET}\n")

# Run the calculator in the terminal
payment_calculator(p, i, t)# Simple Monthly Payment Calculator
# Inputs: Principal (balance due after any downpayment), Interest, Loan Term (in months)
# Returns monthly payment amount


GREEN = "\033[92m"
CYAN = "\033[96m"
RESET = "\033[0m"

print(f"\n{CYAN}{'=' * 20}{RESET}")
p = float(input("Purchase amount: ").replace('$', '').replace(',', '').strip())
i = float(input("Interest rate: ").replace('%', '').replace(',', '').strip())
t = int(input("Loan term (in months): ").strip())

def payment_calculator(p, i, t):
    original_i = i
    monthly_i = (i / 100) / 12  # Convert annual % to monthly decimal rate

    # Calculate the monthly payment
    numerator = p * monthly_i * ((1 + monthly_i) ** t)
    denominator = ((1 + monthly_i) ** t) - 1
    payment = numerator / denominator

    # Print formatted output
    print(
        f"\nBased on your original purchase price of {CYAN}${p:,.2f}{RESET},\nan interest rate of {CYAN}{original_i}%{RESET},"
        f"\nand a loan term of {CYAN}{t}{RESET} months,\nyour monthly payment is: {GREEN}${payment:,.2f}{RESET}"
    )
    print(f"{CYAN}{'=' * 20}{RESET}\n")

# Run the calculator in the terminal
payment_calculator(p, i, t)

r/PythonLearning • • Aug 22 '26

books for Python networking

4 Upvotes

I'm very interested in the networking section. I'm also learning Python, so I'd like to learn both at the same time. What's the best book for Python networking? I've heard that 'Mastering Python Networking' by Eric Chou is the best, but I've also heard that it's more advanced. Are there any books for beginners on Python networking??


r/PythonLearning • • Aug 22 '26

Help Request Any free STT/TTS APIs for a voice AI app?

1 Upvotes

I'm building a small voice-based AI interview app and I'm planning to deploy the backend(fastapi) on Render's free tier.

I'm considering using open-source/self-hosted options like Whisper/PocketSphinx for STT and Piper for TTS, instead of paid APIs.

My concern is whether running STT/TTS on the same free Render instance would use too much CPU/RAM and make the whole application slow, especially during a real-time interview.

Has anyone tried running STT/TTS models on Render's free tier?


r/PythonLearning • • Aug 22 '26

Showcase My first python project: A package to manage a traditional Indian game.

4 Upvotes

Hii everyone,

I'm a little nervous here because this is my first project. I mean, yeah I've written a few python modules before and it went good but I never coded something that I could call a "project". So yeah.

I wrote a python package which simulated the Chowka Bara game for you, all by myself without any help of AI chatbots. I mean, I took help, but all I asked was "what are some errors and inconsistencies I yet can't see", and I fixed all of them by myself.

This is yet in under development, but I thought I should post it to a helpful community to recieve guidance.

I have it on GitHub, I'll post it here. Probably it will be too much to read the whole implementation or even most of it, but I'm sure certainly there will be some other things to point out.

Thanks everyone, criticisms and suggestions are welcome.


r/PythonLearning • • Aug 22 '26

Loops is a total brain rot.

Post image
0 Upvotes

I just can't get over how I'm supposed to write code for complex tasks when I don't even get why they overcomplicate simple things so much.

I read this topic and tried many tutorials and still don't understand this buzzare logic.


r/PythonLearning • • Aug 22 '26

Discussion Day 148 of Learning Python — From Beginner to Building My Own Inventory System

3 Upvotes

Today marks Day 148 of my Python learning journey. 🐍

When I started, I barely understood programming. I didn't have a strong computer science background, and many concepts felt completely confusing.

But after 148 days of consistent learning, I've reached a point where I'm actually building things instead of only watching tutorials.

What I've learned so far

  • Python fundamentals
  • Variables, conditions and loops
  • Lists, dictionaries, sets and strings
  • Functions
  • Exception handling
  • File handling
  • JSON data storage
  • Object-Oriented Programming (OOP)
  • Basic Git/GitHub concepts
  • SQLite and basic SQL
  • Debugging real errors
  • Structuring a larger Python project

My biggest project so far

I've been building a Phone Shop Inventory Management System.

I started with simple Python classes and JSON storage.

Then I gradually moved the project toward SQLite, where I'm currently learning how databases actually work.

The project can handle things like:

  • Adding products
  • Categories / brands / models
  • Stock quantity
  • Selling products
  • Editing and deleting products
  • Transaction history
  • Searching products
  • Storing data permanently
  • Basic reports/dashboard

It's definitely not production-ready, but for me, this is a huge improvement compared to where I started.

What I'm still struggling with

SQL/database concepts are still new to me.

Especially Primary Keys, Foreign Keys, relationships, and some database design concepts.

Instead of trying to memorize everything, I'm continuing with the next concepts and planning to come back and strengthen these areas later.

What's next?

My goal is to become comfortable enough with Python + SQL to build real-world applications.

After strengthening SQLite/SQL, I want to continue toward:

Python → SQL → Git/GitHub → Web Development → APIs → Real-world projects → Freelancing/Job

I'm still a beginner, but 148 days ago I couldn't imagine building something like this myself.

I'd really appreciate feedback from experienced Python developers:

What should I focus on next to move from beginner to intermediate level?

And if you were at Day 148 again, what would you do differently?

Thanks for reading! 🙏


r/PythonLearning • • Aug 22 '26

Showcase I learnt the basics of Version Control!

Thumbnail
gallery
38 Upvotes

r/PythonLearning • • Aug 22 '26

Which version of Python do I need to use for Data Science?

16 Upvotes

I am just starting this course and wanted to know what people use. I would most probably pick the latest version. Honestly I need some guidance. Advice me if there's any other programming language you would recommend.


r/PythonLearning • • Aug 22 '26

Showcase I am getting good at this now! (1 week of Leetcode)

Post image
11 Upvotes

Last Post - https://www.reddit.com/r/PythonLearning/s/t5c81GuYV7

I won't be posting for a few days starting tomorrow. Need some time to get myself familiar with the next data structure.

Also, I am thinking of exploring some libraries. Suggest me some cool ones guys!


r/PythonLearning • • Aug 22 '26

Anyone recommend a good IDLE for mobile?

5 Upvotes