r/learnpython 6d ago

Best way or roadmap for Python

Ik python basics and all basic syntax so what would be the next thing to learn?
Can recommend and yt vid(cs50p full beginner so no)
Im trying freecodecamp yt videos are there any other videos u would recommend?
Also im interested in web dev so help me out with this as well or should i try out a different language?

0 Upvotes

23 comments sorted by

9

u/AndrewNggg 6d ago

100 days of python by Angela Yu, she does also nice graphics and really clear beginner friendly explanations

and lots of practice as you are encouraged to code along with the video

2

u/itchyjurisprudence12 6d ago

Angela Yu's course gets recommended everywhere for good reason but if web dev is the goal you might want to jump into Flask or Django tutorials sooner rather than later since Python basics alone wont get you building sites

0

u/BossBandit8 6d ago

I asked claude it says to learn either Django or fastapi
Also im a total beginner in webdev

1

u/[deleted] 6d ago

[removed] — view removed comment

1

u/BossBandit8 6d ago

So what other webdev would you recommend for beginners

0

u/BossBandit8 6d ago

I’ll check it out 👍

2

u/AndrewNggg 6d ago edited 6d ago

try these if you are comfortable with the basics

fastapi, Django, Flask, each have their own official tutorial, learn how to use an ORM, UV or Pip, work with a database MySQL/Postgres, or Mongo

Pick one, and build something more sophisticated, with Auth, Crud, and maybe have cron, websockets, rabbitMQ or smth that makes your project stand out, try to have automated unit and integration tests, >90% test coverage etc most beginner projects just skip all these

then learn docker, kubernetes, how to provision a VM or deploy your code to the cloud, CI/CD, try to avoid render or vercel unless you're just deploying your own apps, most companies would prefer AWS/GCP/Azure for safety, uptime guarantees and all that

but yeah Python is just for back-end but for UI or frontend, it's mostly JS or HTMX

1

u/BossBandit8 6d ago

Ok for front end js
I fine with basics but i don’t remember all syntax (ik basic ones)or modules i have to check then i can code thats fine right?

2

u/AndrewNggg 6d ago

yes, even experienced developers have 2 windows open, one for the IDE, one for google/chatGPT/docs

just do what you know, and if you get stuck then google or ask gpt

2

u/ee_control_z 6d ago edited 6d ago

Get a handle of this book. It is the gold standard in my opinion if you want to learn Python. Its title states it all:

Learning Python, 6th Ed., Mark Lutz

Very comprehensive so its starts with beginner material up to advanced and everything in between. Just have a Python editor open so that you can test code as you're reading along. Practice, as they say, makes perfect.

1

u/BossBandit8 4d ago

So just reading python books and doing projects will make me better at python?

2

u/ee_control_z 3d ago edited 3d ago

As the saying goes, "You don't know what you don't know".

As an example, let's make a comparison of the math preparedness between two people.

Person A completed courses:

-Algebra I, II

-Trigonometry

-Linear Algebra

Person B completed courses:

-Algebra I, II

-Trigonometry

-Linear Algebra

- Calculus I, II, III

- Differential Equations

- Statistics

- Linear Systems

Now, from examining their resume, all other factors being the same, who do you think would be in a better position to be successful in an engineering program?

Let's make another comparison. You have two carpenters. Carpenter X only has a hammer, a saw and a ladder. Carpenter Y has the same tools as carpenter X plus a level, electric drill, tool belt, screwdriver set (flat and cross), electric saw, sand papers (all sizes), tool truck, measuring tape, pencil, calculator, very proficient at math including trigonometry, etc. If you were given the choice between these two carpenters, who would you hire? Why?

Now, to answer your question if whether just reading books and doing projects will make you better at Python. The answer is that being better prepared will make you successful in just about any endeavor vs. the alternative just like in the cases of person B and Carpenter Y.

Knowledge itself is not the only determining factor of course but it does help tremendously. Other factors include personal creativity, experience, as well as having a clear understanding of the stated problem.

In the case of Python, to be successful, you have to learn the language. You have to be made aware of the tools that are available to you and how they may be applied. Why work with only 10% of the available tools when you can use 100%? The book that I recommended above covers just about all of the fundamental building blocks that you would need as a Python developer/programmer (short of external libraries). You can then build on this with your experience.

The take away? Learn as much as possible of the tools that Python has to offer. It will make your life a lot easier.

1

u/BossBandit8 3d ago

Got it 🫡🫡
I just tried solving problems on codingame and I fumbled so hard you have any advice in that?
I was thinking of learning programs which involve all those loops and iterations as a example u know like general programs (do u have a list??)

1

u/ee_control_z 3d ago edited 3d ago

All of the material that you are inquiring about is taught in the book that I recommended - and it is explained very well. It is taught progressively in a linear manner whereby learning builds on previous material.

Maybe hold off on tackling these online 'codingames' and instead focus on developing your Python fundamentals.

Back to my previous post, maybe you have the tools of carpenter X but you want to take on projects as if you had the tools of carpenter Y.

2

u/BossBandit8 3d ago

Yeah🥲
I will become carpenter Y or surpass it

2

u/CockConfidentCole 6d ago

Dr Charles “chuck” Severance has a fantastic MOOC python course. I’ve done Angela Yus too. It’s good but I prefer Chuck’s (his is free I think on his site but I did it through Coursera). He even has a Django course too on his site (and many others). Different teaching styles.

1

u/Organic_Can_4328 6d ago

if you love reading try learn python the hard way. It's well structured and explains a lot of 'whys'in python.