r/learnpython 4d ago

Best books, courses, or resources for a beginner looking to bridge Python backend and ML/AI?

Hey everyone,

I'm a beginner in programming and currently focusing on Python. My main areas of interest are backend development and machine learning / AI.

I want to build a solid foundation without getting overwhelmed by the endless sea of tutorials. What are your absolute top recommendations (books, video courses, YouTube channels, or project-based resources) for someone starting out in this space?

Specifically looking for:

- Solid Python backend fundamentals (APIs, databases, architectures like FastAPI/Django)

- Beginner-friendly entry points to ML/AI that don't skip the core concepts

Any roadmap advice or "I wish I knew this earlier" tips are also welcome. Thanks!

16 Upvotes

11 comments sorted by

5

u/Any-Bobcat2370 4d ago

Pick one of the two first. Backend and ML are separate skill trees and doing both at once is most of the overwhelm you're describing.

Backend: read the FastAPI docs front to back. They are a real tutorial, not just reference, and better than most paid courses. Build one API with an actual database behind it before anything else. When you start wondering how to structure a bigger project, Architecture Patterns with Python (free at cosmicpython.com) is the one.

ML: Geron's Hands-On Machine Learning is the default for a reason. If you want the concepts rather than library calls, Karpathy's Neural Networks: Zero to Hero on YouTube builds backprop and a net from scratch, free.

The thing I wish I had known: finish and deploy one small ugly project before starting the next course. Tutorials feel like progress.

1

u/1627372824 3d ago

Thanks for specific resources! That makes a lot of sense about not splitting my focus between backend and ML right away.

Just curious - do you work professionally in the industry and - if so - which path did you start with yourself?

2

u/Creative_Sugar-33 3d ago

Datacamp is great. It has a wide array of courses that cover everything you've mentioned. It also offers many mini-projects which are great for learning without relying on videos and tutorials. Datacamp isn't free, but I personally think it's well worth it if you're serious about learning Python/ML/AI/DB, etc.

Dataslope also provides some courses that might be helpful as well:

Disclaimer: I created Dataslope. I am not affiliated with Datacamp - I used it many years ago.

1

u/1627372824 3d ago

Thanks, I will check it out.

And one question: do you work in the industry?

1

u/Creative_Sugar-33 3d ago

No. I was a software engineer. But I now teach programming/data analytics/data science.

1

u/itlogicpartnersllc 3d ago

for ml learn the basics of numpy/pandas linear algebra, probability and scikit learn before jumping into llm frameworks why does this model work? foundation pays off later.

1

u/andy_p_w 3d ago

So most of the recommendations will be for books that discuss the fundamentals of machine learning (of which there are many, I have an like Chollet's Deep Learning for this, but have not read others in depth).

I don't think most folks in your shoes should worry about *fitting* models though. Most AI engineer work is using the different frontier model APIs anymore to build applications. Hence I wrote Large Language Models for Mortals for that crowd, https://crimede-coder.com/blogposts/2026/LLMsForMortals

So that book covers calling the APIs (all major provider examples are given, OpenAI/Anthropic/Google/AWS), structured outputs, RAG, tool-calling/MCP, and then has a chapter on agentic CLI tools.

1

u/code_x_7777 3d ago

don't use books for learning python. not needed anymore

1

u/crazycrowww 3d ago

pick one and go deep for atleast 6 months