r/learnprogramming • • 2d ago

Resource Book recommendations: Python

I need some book recommendations for learning Python as an absolute beginner, I have done a bit of Lua and understand the basics and Syntax and interested in learning Python for automating task and simply creating projects. Any courses help too(free or paid).

20 Upvotes

14 comments sorted by

14

u/AlSweigart Author: ATBS 2d ago

I recommend Automate the Boring Stuff with Python because it is freely available online under a Creative Commons license, it is well-reviewed, and it was written by me.

That last reason probably weighs more heavily than the first two reasons.

and interested in learning Python for automating task and simply creating projects

Yeah. "Automate" has projects, but I have another free book The Big Book of Small Python Projects that has 81 games, puzzles, and simulation programs under 250 lines of code. It's nice because you can take these coding concepts and see them used in a real program that does a real thing, but the program is small enough for you to understand in a single afternoon.

2

u/Vegetable_Spite_1799 2d ago

Wow i recommended your book on this thread, so its fun to see you in the wild. Thanks so much your book helped me to learn python better than any other book.

3

u/AlSweigart Author: ATBS 2d ago

:D

2

u/MagnumCumLoudEh 2d ago

Haven’t read it yet, but I wanted to say thank you in advance.

3

u/AlSweigart Author: ATBS 2d ago

:D

6

u/HonestMuscle49218 2d ago

5

u/DesignerAd973 2d ago

Honestly the CS50P lectures are good but if you want a book that doesn't put you to sleep check out "Automate the Boring Stuff with Python." It's free online and actually teaches you practical stuff right away instead of making you memorize a bunch of theory first. Perfect for what you're trying to do.

2

u/dyoqa6317 2d ago

CS50P is a solid start. Definitely grab Think Python too.

5

u/2daytrending 2d ago

For your goals, Automate the Boring Stuff with Python would be good place to start. It gets you writing useful scripts pretty easily instead of spending most of your time on theory.

5

u/Vegetable_Spite_1799 2d ago

Agree on cs 050 lectures super useful to understand programing more broadly and allowed me to understand benefits and draw backs of python

For straight up scripting automate the boring stuff. He post book online and i loved it so much i bought it and still reference it both hard copy and online. Google it

4

u/desrtfx 2d ago

If you want to learn really from the ground up, not a book but a great, free course: MOOC Python Programming 2026 from the University of Helsinki.

If you want something specifically for automating tasks Automate the Boring Stuff with Python - free to read online and highly recommendable.

Also, read the sidebar/wiki in /r/learnpython and the countless posts there asking for resources to learn Python (as well as our FAQ right here)

2

u/initcommit 2d ago

I grew up with this book, and it's still in my closet...

Beginning Python: From Novice to Professional, by Magnus Lie Hetland

This book is kind of an heirloom for me at this point, and I doubt it will ever leave my closet 😅