r/learnpython • • Aug 21 '26

Best way to learn python for someone with 0 experience with programming

143 Upvotes

I need help with where to begin learning python. I have 0 experience in programming. So I need all the help I can get. Books, websites and courses(free as I can't afford to pay for anything right now) maybe YouTube tutorials.

But on the subject of YouTube tutorials I've seen it's not good to just follow along with the tutorials so what would be the best way of engaging with tutorials?

Please any suggestion is welcome and thank you very much in advance.

What helps you focus I tend to lose focus easily because my brain just suddenly remembers I have something I need to do when I decide to be productive.

Edit: Thank you guys for your suggestions. They've been very helpful. I see all of your replies; I just can't get to every single one of them, but I see them. Thank you very much.

I'm doing CS50P and also using Automate the Boring Stuff and this other book with small projects. Thank you guys so much.


r/learnpython • • Aug 09 '21

What is the keyboard shortcut in VS Code to run a python file?

106 Upvotes

Dumbest of dumb questions but I'm new to this, and have never used VS Code before.

I've written a basic python file that I can run just fine by pressing the triangle in the upper right hand corner in VS Code.

However, for the life of me, I cannot figure out how to run the same file via a keyboard shortcut.

Shift Enter seems to only run whatever text is selected. F5 runs the file, but leaves me in a debug mode.

I'm probably missing something glaringly obvious, but how do I run the whole file via a shortcut..?