PuppyCoding

Friendly Python & AI tutorials for beginner & intermediate programmers.


2 Free Python Books for Beginners

Two free Python books – Think Python and Automate the Boring Stuff with Python

There are many, many books about learning Python, a lot of them free, and two in particular stand out so I wanted to recommend them here. Which one you should read depends on your thinking style.

Academic and Conceptual

Book: Think Python by Allen B. Downey

This is my recommendation for learning the concepts and foundation of Python. It’s available both as a free PDF and for reading online.

If focuses on core computer science and programming concepts, such as data structures, algorithms, recursion, and object-oriented programming. As such, it’s for you if you want to build up a more academic understanding of Python and computer science.

Practical and Hands-on

Book: Automate the Boring Stuff with Python by Al Sweigart

This is my recommendation for learning how to do specific things with Python. There’s no PDF but it’s available to read online.

This book is highly practical and helps you solve everyday problems using Python, such as interacting with files, scraping data from the web, manipulating spreadsheets, and automating GUI operations.

How to Choose?

Think Python: How to Think Like a Computer Scientist

  • Beginners to Programming
  • Students Studying Computer Science
  • Individuals Switching Programming Languages

Automate the Boring Stuff with Python

  • Non-Programmers Seeking Practical Skills
  • Beginners Looking for Practical Applications
  • Experienced Programmers Seeking to Broaden Skills

In Summary

ParameterThink Python: How to Think Like a Computer ScientistAutomate the Boring Stuff with Python
Intended AudienceBeginners to programming, individuals seeking a foundational understanding of computer scienceIndividuals with or without programming experience who want to use Python for practical, everyday tasks
ApproachTraditional, academic; focuses on fundamental concepts and theoriesHands-on, practical; shows how Python can be used to automate common tasks
Content and StructureFocuses on core computer science and programming concepts; uses Python as the language of instructionCenters on using Python to interact with files, web scraping, manipulating spreadsheets, etc.; structured around real-life tasks
Depth of TheoryDelves deeper into the theory and principles of computer science and programmingCovers fundamental concepts but with primary focus on practical applications
Best ForComplete beginners to programming and those interested in understanding computer science principlesThose interested in quickly learning to use Python for practical tasks or those with some familiarity with programming

By the way, I have no affiliation with either of these books. They’re just a great way to get into programming – for no money!



Leave a comment