r/learnpython • • Aug 30 '26

Question.. I need answers

0 Upvotes

How can I automate Phyton so that when I open my laptop it execute commands on my Linux terminal?

I severely need to know how

r/Phyton

r/learnpython

r/programming

r/AskProgramming


r/learnpython • • Aug 29 '26

How do I stop forgetting Python concepts as soon as I move to the next topic?

15 Upvotes

Hello all, I am complete beginner trying to learn python for second time.

I’m giving Python another shot after quitting a while back. My first attempt failed because I fell into the tutorial loop learn a concept, do a tiny exercise, move on, forget the previous topic completely, go back to step one, repeat until burnt out.

I don't want to make that same mistake again . How do you actually learn Python efficiently so the syntax and problem-solving logic actually stick?

Would love to hear your advice, or any resource recommendations that focus on active practice over passive watching and taking notes. Thanks!


r/learnpython • • Aug 29 '26

Cna someone please explain me this --> if __name__ == "__main__"

28 Upvotes

My teacher gave us some example and all but I didn't quite got it why we use it and how we use it : I will really appreciate if you can explain it in an easier language


r/learnpython • • Aug 30 '26

looking for a someone with whom i can learn coding

0 Upvotes

well hey i am from india and i was looking for any indian mate with whom i can learn coding am 18 y/o guy there


r/learnpython • • Aug 30 '26

Tutorials on how to install and implement scapy?

0 Upvotes

I started taking a python for cybersec course but now that I am on the first part of the course, I am having issues proceeding because we are being taught how to use scapy and my program is not recognizing it.

We were given a GitHub link that is supposed to give us access to everything in the course but I still have no idea where to start.

Seems I can’t upload images so please dm if u want details