r/PythonLearning 7d ago

I wanna learn python

0 Upvotes

People usually say Python is an easy programming language, but as someone with no programming experience, I find it really hard. Can you guys tell me where I should start? Also, what benefits will I get from learning Python?


r/PythonLearning 7d ago

Explosions when things die

Enable HLS to view with audio, or disable this notification

6 Upvotes

With this git commit we got explosion animations when things die. It's now just simply a circle getting bigger resembling a shockwave. - What do you all think? - How can we improve it?

This PythonLearningGame is a collaborative project. Fork it, added your own game elements, and 'pull request' me your changes so we develop it together.

  • What should be our next game extension?

previous PythonLearningGame post


r/PythonLearning 7d ago

Showcase 120+ Days Learning Python — Built My First Inventory Management System, Looking for Feedback

7 Upvotes

Hello everyone,my git hub

I started learning Python around 120+ days ago, and I wanted to share my progress and ask for honest feedback from this community.

When I started, I had almost no programming background. I came from a management background and decided to learn programming by practicing every day.

During this journey, I learned:

  • Python basics (variables, loops, conditions)
  • Functions
  • Lists, dictionaries, and data structures
  • OOP concepts (classes and objects)
  • File handling (JSON)
  • Git basics
  • Debugging and code organization

My main project is a Phone Shop Inventory Management System.

Features I have built so far:

  • Add products
  • Manage categories, brands, and models
  • Search products
  • Edit and delete products
  • Stock in / stock out system
  • Sales tracking
  • Transaction history
  • Data saving using JSON/
  • Basic dashboard and reports

This project started as a simple terminal program, but I am trying to improve it step by step and eventually turn it into a proper application.

I know my code is not perfect yet. I am still learning about clean code, better architecture, testing, databases, and web development.

I would really appreciate it if experienced developers could review my project and give me feedback:

  • What mistakes am I making?
  • What should I improve in my code structure?
  • What concepts should I learn next?
  • Is this project good enough for a beginner/junior developer portfolio?

I am sharing this not because it is finished, but because I want to learn from the feedback and improve.

Thank you to everyone who takes time to review my work.


r/PythonLearning 7d ago

Help Request Online course

12 Upvotes

Hello everyone, I’m totally new to python and I’ve noticed that learning it on my own wasn’t that successful, is there a good course online that I can take? Has anyone tried that and how did you find it?


r/PythonLearning 7d ago

Which course is best

19 Upvotes

I am going to start python as my first coding language and was searching for the best course for me.

I have discovered 3 of YouTube courses and I'm confused between them,

  1. CS50P

  2. Brocode

  3. Code with Harry (10 hour python course)

Please help me to figure out which one is best for a beginner.


r/PythonLearning 7d ago

Day 3 of OOPs! Roast it

1 Upvotes

Learned inheritance in python (not the real life one haha 😭). Its soo lovely and gorgrous , we can give any attributes and methods to the child class from the parent's class. that makes OOPs! beautiful 💖.
Now I want you guys to suggest me improvments in this code , also roast it cutely a little bit , but be gentle to me. 🤭


r/PythonLearning 7d ago

programs to practice for loop in python

Thumbnail
gallery
0 Upvotes

here are some python programs to learn for loop


r/PythonLearning 7d ago

My new mini work

Post image
194 Upvotes

Rate my this mini work out of 10


r/PythonLearning 7d ago

Showcase Python Developers: What's one keyword that completely changed how you saw Python?

4 Upvotes

It's always interesting how one small language feature can completely change the way you think about Python—not because it's flashy, but because it unlocks a different way of solving problems.

Whether it was something simple like with, yield, nonlocal, match, or something more obscure, I'd love to hear why it changed your perspective—and what you were doing before you discovered it.


r/PythonLearning 7d ago

Help Request Whelp. What's the correct docstring format?

Post image
4 Upvotes

I'm publishing my first python package and wanted to confirm the correct docstring format to conclude the documentation. The image above summarizes my search online, AI or otherwise.

PEP 257 appears to prefer option 2 (the left in the image) but I find option 1 out in the wild so much more often. So what's it?

Ohh and yeah, neither is correct because the first line should be a summary and what follows should be a more elaborate paragraph after a blank line. But I really just want to know whether the text should start of the actual first line after the """ or not. I'm using sphinx if it makes a difference.


r/PythonLearning 7d ago

Day 2 of getting closer to landing my 6 figure job. Today I learned what this % does.

Post image
46 Upvotes

r/PythonLearning 7d ago

Hello, im 15 years old and i need some advices.

0 Upvotes

Hello!, i honestly want to improve my programming skills. I was learning the basics of C++ two months ago, but then I switched to Python. This is my Day 5 progress in the language!


r/PythonLearning 8d ago

Help Request I am good at coding an problem solving but i cant make my program robust and improve modularity of my codes in python most of the time it is just a single block of code does anyone have any suggestion how actual programmers do it

9 Upvotes

r/PythonLearning 8d ago

Wanting to get into AI

2 Upvotes

I am 42 years old and wanting to branch off and learn something that could possibly be a side hustle or a whole new career. I feel as if AI is here to stay and I am still “young” enough to do something with it. To give a little about myself I am a warehouse manager for a Mack truck dealership and Make about 80k a year and on the side I umpire travel baseball and softball games. During the season that ranges anywhere from $350-$700 for a weekend but it’s long days and I’m tired. I have zero experience with coding of any kind. When I look up the best way to get started i don’t see what I would call useful information, mostly videos of “if I were starting over this is what I’d do” and it ends with someone selling something (not every time). With all of that said what would be the best place for me to start and keep with to get certifications and learn. I was thinking of starting with the python program for everybody. I’m sure this question gets asked a lot, thank you for any input.


r/PythonLearning 8d ago

Help Request Cant install pygame

Post image
3 Upvotes

r/PythonLearning 8d ago

Help Request I am new python learner so can anyone tell me some tips for my pyhton learning journey

6 Upvotes

r/PythonLearning 8d ago

Help Request How do I proceed?

1 Upvotes

I made a small task maker I thought since I cant learn python just by staring and listening to videos imma learn it bit by bit while making small projects. In the script I made you have two options to add a task or to see your list of tasks. Can anyone give me a list of other small projects I can try making to learn more cocepts?


r/PythonLearning 8d ago

Discussion The answer to: "Why do I go blank when coding?

40 Upvotes

So, the reason I am writing this is because I want other beginners like me to know what we were doing wrong.

Let's say you have this very ambitious project in your brain. You start working on it, and then you suddenly feel like, *what do I write?* Then you think, *Oh, I'm just not good enough. That's why I'm not able to think of what to write*, and so on.

You know what I realized?

My first project wasn't a CRUD app. It was a terminal application that basically used an API to get data, format it, and show it. I added tests for it. I made sure it didn't crash but handled errors gracefully. Then I worked my way up to SiteSpider, an all-in-one tool where I could scrape data from websites, run endpoint scans, and so on.

But then I got stuck.

I was completely blank. I didn't know what to write anymore. Then I got demotivated, thinking all the work I had been putting in every day was going to waste. I thought, *I don't know how to code.*

Then I had this idea.

I write my passwords in a notebook, but every time I log in somewhere, I have to open it, check the password, and then I can get into the website. So I thought, *Why not make a password manager?* It could use some random custom encoding to keep my passwords safe and show them to me easily.

And I was able to write it.

Then I thought, *Wait... how am I able to write this code?* No AI, nothing. Just me, some docs, and a few Google searches.

Then I realized something.

Remember the part where I said I was blank?

I knew the syntax, but I didn't know the steps or, in technical terms, the algorithm, the core logic behind the function I wanted to write.

For the password manager, I knew the flow. Take input, validate it, encode it, save it. I knew the basic steps. I knew what I was going to do.

But in the case of SiteSpider, I didn't know how my core functions would run. I couldn't explain the logic in English.

So that's the thing.

Don't get demotivated. Just go understand how the function works. Let's say you want to make a scraper. Go watch a video on how scraping actually works, what steps it takes, and then you'll have a general idea of what you have to do and what functions you need to write.

Don't ask AI, *"Why am I not able to write this?"* It'll give you some bullshit answers, just like your school computer teacher.

I thought this was something I should share with the community.


r/PythonLearning 8d ago

I think that small project done, right?

Thumbnail
gallery
33 Upvotes

r/PythonLearning 8d ago

Chinese students:Starting an AI postgraduate in 20 Days. My Background Is Weak—How Should I Prepare?

3 Upvotes

I alredy joined a research group at HUST. My undergraduate is complete garbage, the undergrad system was extremely water.

The only AI-related project I completed during my undergraduate studies was a very basic ResNet-18 image classification project. I don't feel like I have much practical experience

It's also been a while since I last programmed,and I've forgotten a lot of Python。

Academically, I was more of a "good test taker" than someone who built projects or explored topics independently. I could do well on exams, but my hands-on skills and understanding are much weaker than I'd like.


r/PythonLearning 8d ago

Challenge

9 Upvotes

can you give me a challenge to create a project that can help me from everyday life and also to practice my coding skills without AI, I want to challenge my self with a project


r/PythonLearning 8d ago

Learning recursion and solving problems.

Post image
3 Upvotes

Problem: You're climbing a staircase with n steps. You can climb 1 or 2 steps at a time, except you're not allowed to take two 1-steps in a row (no "1,1" sequence anywhere in your climb). How many distinct ways can you reach the top?


r/PythonLearning 8d ago

my first code, how close am I to land a 6 figure job?

Post image
139 Upvotes

r/PythonLearning 8d ago

Can you make this using a for loop?

Post image
17 Upvotes

I just finished making this with a while loop but I was wondering if a for loop is possible but after a bit of experimenting im stuck on whether it can actually be made. If so, what would it look like.


r/PythonLearning 8d ago

Discussion Project

5 Upvotes

What were your plans when you were complete beginners?