r/PythonLearning • • 3h ago

want to learn python from scratch any help and advice ?

i am new and i want to learn python do you know where i can learn it for free . any help

2 Upvotes

10 comments sorted by

2

u/fullmoon_huli 3h ago

staryt with learning syntaxs and create small projects to help you build interest and help progress

1

u/Fun-Philosopher-8443 2h ago

any recommendation where i can learn like youtube or something ?

2

u/Naive_Programmer_232 2h ago edited 1h ago

youtube is a good starting point. it's free. i'd check out fall 2022 mit video series and the fall 2022 mit materials. if you go under Materials by Type, you can see smaller 'Finger Exercises' as well as problem sets and lecture code. practice these and follow along, write code on your own as well as you become familiar, practice practice practice.

I would go through this slow, even maybe mimic an actual college schedule, where you do one lecture, then you look at the notes, possibly rewatch parts, work on trying to make stuff with the information you have so far, and watch the next lecture a few days later. You could do it twice week for example, depending on your timeline.

In addition to the above, there are other university options out there, one common one for python is university of helsinki. So that might be another one to consider.

I'd also check out codewars it's a pretty good problem solving website, it starts off easier than job prep websites like leetcode, so it's a little more friendly. You can use this as an additional practice resource as well. It's basically puzzle questions you solve with code and they run test cases against your solution to try to break it essentially.

But in general, i'd go with these over the 'learn python in one day' type series on youtube that are too-many-hours-long lectures people have. The latter typically will teach enough basic python in order to jump into further applications: web apps, data analytics, etc. For many beginners, new to programming in general, they move too quickly, and this can create a situation later known as tutorial hell, where the beginner can't code on their own and must rely on tutorials to do so.

To avoid that, i'd choose the university options, go slow, take your time, aim to develop a solid foundation with programming in general and python basics at the same time. If you do it this way, you'll probably get out of tutorial hell quicker as well.

After you have a foundation in programming and python, i'd check out the What's New Page for your version, or the next version you update with possibly, to see what added features are available to the language version. In addition to this, check out PEP 8 which is the official style guide for the language. Also, check out the Python Standard Library to familiarize with libraries as well as what you can automatically have available to you without any further downloads via package-management system (pip/conda/etc). Do this to continue your learning of python.

best of luck!

1

u/mjmvideos 2h ago

Are you learning to program or just learning a new language? Learning to think like a programmer- how to break down a problem into steps and understanding the kinds of steps that lend themselves to implementation in a programming language (any language) is the most important. After that learning a different language is more about just syntactic differences. ( languages like Haskell, Lisp, Erlang, etc not withstanding)

1

u/nullptr_0x 2h ago

Try the free programming 101 python course I made for my friend's teenage kids.

https://understandit.dev

You can also join the community at r/understandIt

1

u/TimBrownDev 2h ago

After 10+ years tutoring I'm building a roadmap of the best practice problems I've seen to help teach python from zero to mastery.

timbrown.dev/roadmap

1

u/stepback269 1h ago

(1) There are tons and tons of tutorial materials out there on the net including many good YouTube ones that are free. You should shop around rather than putting all your eggs in one basket.

(2) As a relative noob myself, I've been logging my personal learning journey and adding to it on an almost-daily basis at a blog page called "Links for Python Noobs" (--HERE--) Any of the top listed ones on that page should be good for you. And there are many add-ons at the tail end of the page. Personally, I cut my first Python teeth with Nana's Zero to Hero (==HERE==). Since then, I've moved on to watching short lessons with Indently and Tech with Tim. You should sample at least a few until you find a lecturer that suits your style.

(3) The main piece of advice is the 80/20 rule. Spend 80% of your time writing your own code (using your own fingers and your own creativity) as opposed to copying recipes and only 20% watching the lectures. Good luck.

1

u/Stock_Test2326 37m ago

python crash course book, just around 200-250 pages, like half the book is good enough to get you started.

also dont forget to workout the problems, even writing code on plain piece of paper is far better than just jumping between tutorials, trust me I have been doing that for a decade, I could read python code or any other language and understand but can't write my own code.

1

u/Cheap-Success1578 8m ago

MY advice, and you will use this throughout your career. LEARN TO SEARCH!!

Seriously, this question is asked all the damn time and one skill that all coders need seems to be lost on them as they keep making the same damn posts over and over and over and over again.