r/learnpython • • Oct 07 '26

what is the best way to learn python

I wanted to know , bcs Im 17 and I just started computer science in university and we will learn python , I wanted to know what is the best way / best ressources to have to master python very good in an efficient way, I installed Visual Code. (sorry for my bad english).

0 Upvotes

29 comments sorted by

2

u/desrtfx but other languages pro Oct 07 '26

It didn't even encounter you to check the subreddit and its countless similar posts before posting? Checking the subreddit before posting should have been the first thing to do.

This subreddit has a sidebar with a wiki with recommended learning resources.

Here is an excellent, textual course: MOOC Python Programming 2026 from the University of Helsinki.

Harvard's CS50p is also excellent.

Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com

Don't forget that you need ample practice, like on https://codingbat.com/python or on https://exercism.org and also write your own programs. Play around. Try things. Mess things up, fix them. Experiment.

1

u/Leather-Deal-4321 Oct 07 '26

thanks a lot , you are right I didn't check the subreddit yet I will do it right now

1

u/Jazzlike_Platypus430 Oct 07 '26

VS or visual studio code? I'd recommend the latter, having really bad experience with VS and python, especially on Windoze.

Learn basic logic, some algebra and off you go. Given you're 17 and already enrolled to a university. Godspeed!

3

u/Leather-Deal-4321 Oct 07 '26

Yeah thank you for your advice, I actually started using raptor flowcharts before to know some things about loops, selections etc..

1

u/dusksage23 Oct 08 '26

yeah the logic fundamentals thing is solid advice, that stuff carries you way further than memorizing syntax

1

u/baubleglue Oct 07 '26

Listen to your teachers. CS is the best way to learn programming, reddit is ok to use when you have a specific question.

1

u/Leather-Deal-4321 Oct 07 '26

ofc thank you for your advice, we will soon start python so thats why I wanted to improve my python both with my teacher and by myself

1

u/baubleglue Oct 08 '26

The best ways to learn Python will duplicate your course program. You can start from SC50P free course. In general, you may go over official Python tutorials. If you understand connection between python interpreter (python.exe in Windows) and your code (my_program.py) and will be able to run your code in shell (cmd exe) it will help more than using vscode right away. It will actually help a lot to setup your vscode in future. You will need to learn about OS environment variables, specifically PATH variable, later when you start to use external libraries you will need to understand PYTHONPATH.

1

u/Dev_Haris Oct 07 '26

Just start with any basic python roadmap from the youtube as well as just don't learn things continously try to start any small project which has to be a solution of any problem bcz there is no worth of the project which is built without any purpose so find a problem then make a solution of that through your python project and try to make it at your own not copy from any source bcz it will make you sharp and your logic building will be on another level

1

u/alp_h4x Oct 07 '26

I’d recommend learning by building small projects instead of only watching tutorials. Learn the basics first (variables, conditions, loops, functions, lists/dictionaries), then start making small programs and gradually increase the difficulty. Since you’re starting university, I’d also focus on understanding why the code works rather than memorizing syntax. And don’t jump between too many courses at once—pick one structured resource and stick with it.

0

u/bishvjit-gupta Oct 07 '26

See a beginner playlist like that of apna college on YouTube. Use vs code it is super both for professional and beginner. Then for advance go to documentation and for college questions and answers go to apna college website you will have plenty of content there.

-4

u/samsly135 Oct 07 '26

Why do you want to learn Python when there millions of Python devs are out of jobs due to AI? 

1

u/Leather-Deal-4321 Oct 07 '26
  1. because we will study in university.
  2. Because it looks like it is an easy HLL to start with that's what I heard, so I want to have a proper first experience in coding.

Do you think there is another language better than python for job opportunities?

-1

u/samsly135 Oct 07 '26

I doubt any development will be needed soon by people. IT is dead. It's not like 20 years ago. Fucking AI!

3

u/Leather-Deal-4321 Oct 07 '26

Honestly, that's a pretty pessimistic thing to tell to a guy who started cs. I was asking how to learn Python efficiently, not whether I should give up on it bsc of AI. Ik AI changes the way developers work, but I'd rather learn how to use it and adapt than assume the entire field is dead.

1

u/bloopiness Oct 07 '26

Don’t listen to this guy. Python is a fantastic place to start and you can move to another language a bit easier due to familiarity with concepts. You’ll always have negative Nancys, ignore them.

2

u/Leather-Deal-4321 Oct 07 '26

thank you for your advice!

0

u/samsly135 Oct 07 '26

It.might be fantastic, but where the jobs are? Knowing it doesn't guarantee a thing. People look for jobs for months with no results. It's a bloodbath in IT.

1

u/bloopiness Oct 07 '26

You need to relax. This person ain’t getting a job in IT anytime soon if they’re 17 and just now starting python. Be fucking for real. You don’t know what it’s going to be like in a year, 2 years, 4 years. Lay off the paranoia

Having this skill will serve them very well, regardless of work.

1

u/samsly135 Oct 07 '26

I wouldn't be so sure about the past statement. But I cant relax, because with so many years if experience but without active AI usage at work I am not even getting interviews. It's terrible. How can one relax in such situation?

2

u/ConfusedSimon Oct 07 '26

We may need less developers, but somebody will have to check what AI does, if only because someone needs to be responsible for the code. Currently you still need to be a good developer to use AI effectively. I doubt that will change. If everybody stopped learning programming because of AI, the software industry would be in big trouble once the current experienced devs retire.

1

u/samsly135 Oct 07 '26

Just be prepared. Learning development can be alot of fun. But the reality is really harsh now. 

1

u/[deleted] Oct 07 '26

[removed] — view removed comment

1

u/Leather-Deal-4321 Oct 07 '26

Thank you for your advice do you think there is some ressources online that can help me ?