๐ŸŒ
Reddit
reddit.com โ€บ r/python โ€บ what are the best books to learn python?
r/Python on Reddit: What are the best books to learn python?
January 4, 2023 -

Hi. I would like to start learning Python. Iโ€™m a computer science major who passed their python course with an A, but I havenโ€™t retained the info that had learned from the semester that just ended. So what are some good books for a beginner to learn? Also what are some intermediate and advanced books to learn Python? Thank you๐Ÿ™๐Ÿฝ๐Ÿ™๐Ÿฝ

Top answer
1 of 5
27
Solving exercises and working on projects are usually recommended in such cases. Here are some resources. Exercises: Exercism , Hackinscience and Practicepython โ€” these are all beginner friendly and difficulty levels are marked Adventofcode , Codewars , Python Morsels โ€” includes more challenging exercises for intermediate to advanced level users Checkio , Codingame , Codecombat โ€” gaming based challenges Projects: Find something that'd help to solve a real world problem for you. For example, I'm on Linux and use the terminal for many things. I wanted a cli tool to do simple calculations. There's bc command, but it doesn't accept direct string and you need to set scale and so on. So, I looked up how to write a cli in Python (I went with built-in argparse module) and made a tool that'd solve my small use case. Projects with solutions โ€” algorithms, data structures, networking, security, databases, etc Project based learning โ€” web applications, bots, data science, machine learning, etc Books: The Big Book of Small Python Projects Tiny Python Projects /r/learnpython: What do you automate with Python at home? Intermediate: Pydon'ts โ€” Write elegant Python code, make the best use of the core Python features Python Distilled โ€” this pragmatic guide provides a concise narrative related to fundamental programming topics such as data abstraction, control flow, program structure, functions, objects, and modules Advanced: Fluent Python โ€” takes you through Pythonโ€™s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time Serious Python โ€” deployment, scalability, testing, and more Practices of the Python Pro โ€” learn to design professional-level, clean, easily maintainable software at scale, includes examples for software development best practices Intuitive Python โ€” productive development for projects that last DSA: Problem solving with algorithms and data structures โ€” free interactive course Classic Computer Science Problems in Python โ€” deepens your knowledge of problem solving techniques from the realm of computer science by challenging you with time-tested scenarios, exercises, and algorithms GitHub: Awesome algorithms โ€” curated list of resources to learn and/or practice algorithms See also: Python resources โ€” site where I collate such resources
2 of 5
7
http://automatetheboringstuff.com/
Python Education
r/learnpython
What's the best book about learning python? Apr 4, 2023
r/learnpython
3y ago
Suggest some books to learn python. Jun 7, 2025
r/learnpython
last yr.
Python books for beginners Jun 2, 2022
r/Python
4y ago
Best books/textbooks for learning python? Jul 8, 2023
r/learnpython
3y ago
More results from reddit.com
๐ŸŒ
Pythonbooks
pythonbooks.org โ€บ free-books
Free Python books - pythonbooks.org
This book offers a highly accessible introduction to natural language processing, the field that supports a variety of language technologies, from predictive text and email filtering to automatic s...
Discussions

What are the best books to learn python
Python crash course Eric Matthews 3rd Edition. More on reddit.com
๐ŸŒ r/learnpython
41
49
October 2, 2024
Ask HN: Which book would you recommend for learning Python in detail?
When you're ready to go beyond the basics, I recommend Effective Python [4] and Serious Python [5]. Both go deeper on classes, metaclasses, how objects are represented internally, and Serious Python covers a bit of functional programming, scaling, etc ยท Automate the boring stuff is a good ... More on news.ycombinator.com
๐ŸŒ news.ycombinator.com
60
174
January 31, 2023
A comprehensive book of Python for someone who wants to strengthen their foundational understanding
Learning Python Good book plus free More on reddit.com
๐ŸŒ r/learnpython
42
262
January 4, 2020
Best books to read about Python in bed (without coding)
I think the The Python Standard Library is probably the best book you can read before bed, or in bed. You can download it here as PDF or Epub or text (or even HTML!). Even the Python documentation table of contents says you should keep it under your pillow. More on reddit.com
๐ŸŒ r/Python
23
36
October 24, 2022
๐ŸŒ
The Python Coding Book
thepythoncodingbook.com โ€บ home
Learn Python Coding - The Python Coding Book
November 29, 2024 - The Python Coding Book (First Edition) is available in paperback or ebook / digital.
๐ŸŒ
Medium
medium.com โ€บ javarevisited โ€บ ive-read-20-python-books-and-here-are-my-top-5-recommendations-for-2026-973f0a487e88
Iโ€™ve Read 20+ Python Books and Here Are My Top 5 Recommendations for 2026 | by javinpaul | Javarevisited | Medium
November 16, 2025 - Why It Works: Ramalho doesnโ€™t explain concepts โ€” he shows you how pros use them. He takes a specific Python feature, shows you the โ€œgotchas,โ€ explains the right way to use it, and explains when and why. The book assumes you already know Python basics.
๐ŸŒ
Amazon
amazon.com โ€บ Best-Sellers-Python-Programming โ€บ zgbs โ€บ books โ€บ 285856
Amazon Best Sellers: Best Python Programming
Python (2nd Edition): Learn Python in One Day and Learn It Well. Python for Beginners with Hands-on Project. (Learn Coding Fast with Hands-On Project Book 1)
๐ŸŒ
Python
wiki.python.org โ€บ moin โ€บ PythonBooks
PythonBooks
Python Kindle & Paperback Collection - A good collection of Kindle and Paperback books on Python 3, Django, Flask, FastAPI, and Scientific Computing (NumPy, SciPy, and Pandas)
Find elsewhere
Top answer
1 of 13
34
Python crash course Eric Matthews 3rd Edition.
2 of 13
29
Here are some of the best books to learn Python, catering to different skill levels: Beginner Level: "Python Crash Course" by Eric Matthes A fast-paced and beginner-friendly guide, this book covers Python fundamentals and hands-on projects, making it great for getting started. "Automate the Boring Stuff with Python" by Al Sweigart Focused on practical applications, this book teaches you how to use Python to automate everyday tasks, with lots of examples. "Learning Python" by Mark Lutz A comprehensive book for beginners, it covers Python's core concepts in depth, making it a go-to resource for those who prefer detailed explanations. Intermediate Level: "Fluent Python" by Luciano Ramalho Ideal for those with some experience, this book focuses on writing efficient, idiomatic Python and helps you dive into advanced concepts. "Python Tricks" by Dan Bader This book is packed with tips, tricks, and best practices that help you understand Python more deeply and write better, more Pythonic code. Advanced Level: "Effective Python" by Brett Slatkin A collection of 90 specific tips and tricks to improve the performance and quality of your Python code, this book is great for more advanced developers. "Python Cookbook" by David Beazley and Brian K. Jones A guide to solving various programming challenges, itโ€™s ideal for intermediate to advanced learners looking for practical recipes in Python. These books cover a wide range of learning needs, from getting started to mastering the language for advanced use cases.
๐ŸŒ
Microsoft Press Store
microsoftpressstore.com โ€บ store โ€บ begin-to-code-with-python-9781509304554
Begin to Code with Python | Microsoft Press Store
November 28, 2017 - This full-color book will inspire you to start solving problems and creating programs with Python, even if you have absolutely no programming experience. It's not just friendly and easy: it's the first Python beginner's guide that puts you in control of your own learning, and empowers you to ...
๐ŸŒ
Realpython
static.realpython.com โ€บ python-basics-sample-chapters.pdf pdf
Python Basics: A Practical Introduction to Python 3
However, I ๏ฌnd this an unsatisfying test. The Hello, World test is useful but really not enough to show the power ยท or complexity of a language. Letโ€™s try another example. Not every- thing here needs to make total senseโ€”just follow along to get the Zen ยท of it.
๐ŸŒ
Goodreads
goodreads.com โ€บ list โ€บ show โ€บ 32685.Best_Python_programming_books
Best Python programming books (30 books)
30 books based on 54 votes: Python for Data Analysis by Wes McKinney, Fluent Python: Clear, Concise, and Effective Programming by Luciano Ramalho, Learni...
๐ŸŒ
Amazon
amazon.com โ€บ Learning-Python-5th-Mark-Lutz โ€บ dp โ€บ 1449355730
Learning Python, 5th Edition: Lutz, Mark: 9781449355739: Amazon.com: Books
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutzโ€™s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python.
๐ŸŒ
Python Data Science Handbook
jakevdp.github.io โ€บ PythonDataScienceHandbook
Python Data Science Handbook | Python Data Science Handbook
This website contains the full text of the Python Data Science Handbook by Jake VanderPlas; the content is available on GitHub in the form of Jupyter notebooks. The text is released under the CC-BY-NC-ND license, and code is released under the MIT license. If you find this content useful, please ...
๐ŸŒ
eBay
ebay.com โ€บ shop โ€บ python-books
Python Books | eBay
For the Absolute Beginner Ser.: Python Programming for the Absolute Beginner by Michael Dawson (2010, Trade Paperback) ... Big book with hundreds of Python tips and best practices, with explanations why and when to use them. If you want to take your Pyt...
๐ŸŒ
University of the Basque Country
cfm.ehu.es โ€บ ricardo โ€บ docs โ€บ python โ€บ Learning_Python.pdf pdf
Learning Python
This fourth edition of this book has changed in three ways. This edition: โ€ข Covers both Python 3.0 and Python 2.6โ€”it emphasizes 3.0, but notes differences
๐ŸŒ
OpenStax
openstax.org โ€บ details โ€บ books โ€บ introduction-python-programming
Introduction to Python Programming | Free textbook | OpenStax
July 29, 2026 - Free, peer-reviewed Python programming textbook with an integrated code runner. Covers variables, functions, loops, data structures, and problem-solving. For CS, data science, business, and social science courses.
๐ŸŒ
Real Python
realpython.com โ€บ best-python-books
The Best Python Books โ€“ Real Python
March 18, 2026 - Find the right books to help you get started with Python or take your coding to the next level with this detailed guide to the best Python books out there.
๐ŸŒ
Hacker News
news.ycombinator.com โ€บ item
Ask HN: Which book would you recommend for learning Python in detail? | Hacker News
January 31, 2023 - When you're ready to go beyond the basics, I recommend Effective Python [4] and Serious Python [5]. Both go deeper on classes, metaclasses, how objects are represented internally, and Serious Python covers a bit of functional programming, scaling, etc ยท Automate the boring stuff is a good ...
๐ŸŒ
Blog
halvorsen.blog โ€บ documents โ€บ programming โ€บ python โ€บ resources โ€บ Python Programming.pdf pdf
Python Programming Hans-Petter Halvorsen https://www.halvorsen.blog
Python Books ยท You find other Python textbooks within different domains on my Python Web ยท page: https://www.halvorsen.blog/documents/programming/python/ Python Books: โ€ข Python Programming - This is a textbook in Python Programming ยท with lots of Practical Examples and Exercises.
๐ŸŒ
No Starch Press
nostarch.com
No Starch Press | "The finest in geek entertainment"
This surprisingly accessible book uses key math concepts and more than 500 short exercises to teach functional programming to experienced coders. ... Debugging is a skill. This is how it works. ... True crime from inside the ransomware wars. ... The first serious guide to the Linux memory subsystem in twenty years. Long overdue. ... Build a red team that turns successful attacks into better security. ... See calculus in action with Python, visualization, and real-world applications.