r/PythonLearning • • Aug 01 '26

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 • • Aug 01 '26

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

Post image
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 • • Aug 01 '26

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 • • Aug 01 '26

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 • • Aug 01 '26

programs to practice for loop in python

Thumbnail
gallery
0 Upvotes

here are some python programs to learn for loop


r/PythonLearning • • Jul 31 '26

I think that small project done, right?

Thumbnail
gallery
33 Upvotes