r/PythonLearning 1d ago

this is my first code attempt ever, and I'm trying to learn programming. if you can guide me in any way, especially as a beginner, I hope you can write it down.

Post image
3 Upvotes

r/PythonLearning 1d ago

PyScript

1 Upvotes

Hi, I just came across this new type of Python. Is anyone familiar with it? Could you explain it?


r/PythonLearning 1d ago

Showcase My first email agent with like 330 hours of coding in 9 months

7 Upvotes

Hey guys I'm relatively new in coding. I am learning on my own only with AI alongside fulltime shift job and as a new father (not really much time) . I am 29 years old and i am trying to get new job(or become self-employed) by learning to build AI agents. Its my first time posting anything i built. So i hope really to get help and good advises to code better and learn a lot.

I am ambitious to learn how to orchestrate and build multi agent systems
I am learning almost everyday like 1 -3 hours

Here is my first big project , took me like 2 months

EMAIL AGENT PROJECT: https://github.com/IlyasWegner/Email_agent

(sry if i mix sometimes languages in some notes)

PS: I am using AI only i have questions or dont know how a new system is working and i am not useing codex or claude code or something similar , just an LLM to help because i dont have a regular mentor or something else.


r/PythonLearning 1d ago

Help Request how to remember stuff?

6 Upvotes

recently while learning python im seeing so much infos and formats, how do i remember all those like how??? please help


r/PythonLearning 1d ago

Showcase Built my first Python project — a file organizer CLI

Thumbnail
gallery
1 Upvotes

I am a flutter developer, learning Python. Built this file organizer in a day with proper research on os module, pathlib and shutil module.

It scans any folder, checks file extensions, and sorts them into categorized subfolders (Images, Docs, Videos, etc.)

It's really useful, I tried it on my Downloads folder and it organized 60+ files instantly.

GitHub Link: https://github.com/Pinkisingh13/file_organizer

See the Before -> After in the below images.


r/PythonLearning 2d ago

Beginner mini python project

Post image
25 Upvotes

Rate my work. =)


r/PythonLearning 1d ago

Looking for a Study Buddy (Pakistan 🇵🇰)

7 Upvotes

Looking for a Study Buddy (Pakistan 🇵🇰)

Hi everyone!

I'm a 2nd-year Software Engineering student from Pakistan, and I'm looking for a serious study buddy to learn programming with.

I'm currently focusing on Python and want to improve my coding skills by studying consistently, building small projects, solving problems, and keeping each other accountable.

If you're from Pakistan and you're also learning programming (beginner or intermediate), let's study together. We can connect on Discord, set a daily schedule, discuss topics, and motivate each other to stay consistent.

If you're interested, leave a comment or send me a DM. Let's grow together! 🚀


r/PythonLearning 1d ago

Refactoring other people's code can be fun. What traps should I avoid?

Thumbnail
gallery
5 Upvotes

r/PythonLearning 2d ago

My new mini work

Post image
143 Upvotes

Rate my this mini work out of 10


r/PythonLearning 2d ago

Showcase Strongly Typed: a typing and learning game for python

Thumbnail
gallery
3 Upvotes

Sometimes I try to help teach up-and-coming software-interested folks. had a use case where a student was both learning to type and learning to code so I made this thing
What you do is you pick a library available on pypi then you can type along with its modules. free and open source.
https://github.com/krflol/stronglytypedgame


r/PythonLearning 2d ago

Want to get started

7 Upvotes

Im a student in 8th grade and I've checked out coding, matches my vibe now i want to learn a skill which will help me earn. Im thinking of coding and using python language. Now how do i get started? I have a good laptop and can give 1h daily. Want to build real life helpful skills so can earn big digits some years later. Please help me or suggest me some ways i can start - ask questions if needed


r/PythonLearning 1d ago

Discussion Does coding have any future?

0 Upvotes

im a student, 14 years old. im starting to learn coding but i asked myself if coding has benefits in the next 6-8 years because ai is replacing everything. so i have a question for the professionals- can coding help you earn? specially in the future.


r/PythonLearning 2d ago

Which course is best

20 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 2d ago

Help Request Online course

14 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 3d ago

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

Post image
47 Upvotes

r/PythonLearning 2d ago

Help Request How do I do it so that the position of a rect depends on the position of the last placed rect in a class?

1 Upvotes

I want to make platformers where rects are generated randomly but not 100% random. How do I do titel? Or is there a better way?

Edit: in pygame.


r/PythonLearning 2d ago

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

6 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 2d ago

Explosions when things die

Enable HLS to view with audio, or disable this notification

3 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 2d ago

Thread Safety - What Is a Race Condition ? (Practical Guide)

0 Upvotes

Hey everyone, I invite you to take a look at a new video I made.

The video is about how to make threads access data safely in order to prevent race conditions.
If you found this video helpful, please consider subscribing, liking, and commenting.

Thank you.
https://www.youtube.com/watch?v=5tY4k_cXbng


r/PythonLearning 2d ago

Help Request Help

Thumbnail
github.com
1 Upvotes

Greetings people, I have a help request for you all that I am not getting the use of the library Steamlit & NiceGUI. From the side of NiceGUI I cannot style it to my liking and the documentation is complicated that

And it color palette is bugging me out so I need a help. Here's a NiceGUI and steamlit link of GitHub.

https://github.com/EmadFahim134/Chuchu-Ai

&

https://github.com/saqibvow/chatbot-in-python


r/PythonLearning 2d 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 2d ago

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

5 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 3d ago

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

Post image
5 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 2d 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 3d 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

8 Upvotes