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 Answer from ASIC_SP on reddit.com
๐ŸŒ
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/
๐ŸŒ
Pythonbooks
pythonbooks.org โ€บ free-books
Free Python books - pythonbooks.org
Published on : Sept. 23, 2017 Python version: TH 236 pages Available for free here ... More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional...
People also ask

What is the best book to learn Python development?
A lot of these books on Python programming can help you get started in your coding journey. Books such as โ€˜Fluent Pythonโ€™ and โ€˜Python Cookbookโ€™ are really good sources for beginners who want to get their programming basics cleared.
๐ŸŒ
testbook.com
testbook.com โ€บ home โ€บ python โ€บ what are the best books to learn python
Top 10 Best Books to Learn Python: beginner to advance level
Are books on Python development the best way to learn Python?
Among the various ways to learn Python development including Python courses and tutorials online, learning from a Python development book is one of the best ways to greatly improve your proficiency with the programming language.
๐ŸŒ
testbook.com
testbook.com โ€บ home โ€บ python โ€บ what are the best books to learn python
Top 10 Best Books to Learn Python: beginner to advance level
What book should I read to learn Python easily?
Some books to learn Python development easily are โ€˜Think Python: How to Think Like a Computer Scientistโ€™ and โ€˜Fluent Pythonโ€™ among others.
๐ŸŒ
testbook.com
testbook.com โ€บ home โ€บ python โ€บ what are the best books to learn python
Top 10 Best Books to Learn Python: beginner to advance level
๐ŸŒ
Real Python
realpython.com โ€บ best-python-books
The Best Python Books โ€“ Real Python
January 25, 2023 - You have a reasonable amount of programming experience in another language and now want to learn Python. This section focuses on the first of these two scenarios, with reviews of the books we consider to be the best Python programming books for readers who are new to both programming and Python.
๐ŸŒ
BrainStationยฎ
brainstation.io โ€บ career-guides โ€บ python-books
Python Books (2026 Guide) | BrainStationยฎ
December 18, 2025 - Python Crash Course: A Hands-On, Project-Based Introduction to Programming ... A former high-school math and science teacher, the Alaska-based Matthes now focuses full-time on writing and programming-related projects ยท One of the most popular ...
๐ŸŒ
The Python Coding Book
thepythoncodingbook.com โ€บ home
Learn Python Coding - The Python Coding Book
November 29, 2024 - You can also read the โ€œZeroth Editionโ€, the precursor of the published book, here on this site for free. ... Looking for more Python learning? The Python Coding Place is ideal for beginners and early intermediates. Subscription is just $15 per month or $300 one-time fee for lifetime access. Try a free 7 day trial today and learn to code in a new way.
๐ŸŒ
Medium
medium.com โ€บ javarevisited โ€บ my-favorite-books-to-learn-python-in-depth-77465633b46e
Top 10 Python Programming Books for Beginners and Experienced Programmersโ€” Best of Lot | by javinpaul | Javarevisited | Medium
May 2, 2025 - Once you find your feet using an online course like The Complete Python 3 Bootcamp, or 100 Days of Code โ€” The Complete Python Pro Bootcamp you can dig deeper into the massive world of Python by following these books. So, without wasting any more of your time, letโ€™s start with the best books to learn Python for beginners and intermediate developers.
Find elsewhere
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ best-books-to-learn-python-for-beginners-and-experts-in-2019
Best Books to Learn Python for Beginners and Experts in 2022 - GeeksforGeeks
July 28, 2025 - The Python Crash Course is an excellent book that provides a thorough introduction to Python that will have you writing programs and solving problems in no time! As you work through this book, you will learn various Python Libraries and tools ...
๐ŸŒ
Python
python.org โ€บ about โ€บ gettingstarted
Python For Beginners | Python.org
Before getting started, you may want to find out which IDEs and text editors are tailored to make Python editing easy, browse the list of introductory books, or look at code samples that you might find helpful.
๐ŸŒ
Testbook
testbook.com โ€บ home โ€บ python โ€บ what are the best books to learn python
Top 10 Best Books to Learn Python: beginner to advance level
18 Months Testbook Pass
Best Books to Learn Python have become extremely crucial for aspiring programmers & AI/ML enthusiasts willing to get started with the programming language. Attempt all tests for all your exams using our 18 Months Testbook Pass
Rating: 4.9 โ€‹
๐ŸŒ
Guru99
guru99.com โ€บ home โ€บ python โ€บ 11 best python books for beginners (2026 update)
11 Best Python Books for Beginners (2026 Update)
December 20, 2024 - ๐Ÿ” Check Latest Price and User Reviews on Amazon ... Python Cookbook is an ideal book if you need help writing programs in Python 3. It also helps you to update the Python 2 code.
๐ŸŒ
Python documentation
docs.python.org โ€บ 3 โ€บ tutorial โ€บ index.html
The Python Tutorial โ€” Python 3.14.4 documentation
There are also several books covering Python in depth. This tutorial does not attempt to be comprehensive and cover every single feature, or even every commonly used feature. Instead, it introduces many of Pythonโ€™s most noteworthy features, and will give you a good idea of the languageโ€™s flavor and style. After reading it, you will be able to read and write Python modules and programs, and you will be ready to learn ...
๐ŸŒ
Learnpythontherightway
learnpythontherightway.com
Learn Python the Right Way
Use the online app PythonTutor.com for step-by-step visualisation and stepping through code. We've also changed the title to better indicate that we believe that this is the best book for beginners to learn Python, not only in the academic context of computer science.
๐ŸŒ
Hackr
hackr.io โ€บ home โ€บ articles โ€บ programming
The 15 Best Python Books for Beginners & Advanced Coders [2026]
January 30, 2025 - The first thing I have to say is that you won't yawn through endless pages, as this Python book is more of a well-paced sprint through Python essentials. I also appreciate that itโ€™s split into two halves, with the first solidifying your understanding of basics like loops and classes with clear examples and exercises. With the fundamentals of Python down, the second half is where you shine by building three Python projects to bolster your portfolio and coding chops. What about the teaching style? Itโ€™s hands-on with a learn-by-doing approach.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ best-python-books
9 Best Python Books For Beginners and Experts [2025] - GeeksforGeeks
July 28, 2025 - The Python Crash Course is an excellent book that provides a thorough introduction to Python that will have you writing programs and solving problems in no time! As you work through this book, you will learn various Python Libraries and tools ...
๐ŸŒ
Coursera
coursera.org โ€บ browse โ€บ computer science โ€บ software development
Programming for Everybody (Getting Started with Python) | Coursera
August 22, 2020 - Offered by University of Michigan. This course aims to teach everyone the basics of programming computers using Python. We cover the basics ... Enroll for free.
Rating: 4.8 โ€‹ - โ€‹ 233K votes
๐ŸŒ
Quora
quora.com โ€บ Which-is-the-best-book-for-learning-python-for-absolute-beginners-on-their-own
Which is the best book for learning python for absolute beginners on their own? - Quora
Answer (1 of 177): For an absolute beginner interested to learn the basics of Python quickly the best book in my opinion is: A Byte of Python by Swaroop CH. It is a free book written in a very lucid manner.
๐ŸŒ
StxNext
stxnext.com โ€บ home โ€บ blog โ€บ 10 best python books to learn in 2026
10 Best Python Books to Learn in 2026
January 21, 2026 - Head First Python is a great starting point for people with minimal programming experience and covers topics like web development, exception handling, and even basic database management.
Top answer
1 of 13
28
Python crash course Eric Matthews 3rd Edition.
2 of 13
22
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.
๐ŸŒ
The Hitchhiker's Guide to Python
docs.python-guide.org โ€บ intro โ€บ learning
Learning Python โ€” The Hitchhiker's Guide to Python
It has an interactive Python interpreter built into the site that allows you to go through the lessons without having to install Python locally. ... If you want a more traditional book, Python For You and Me is an excellent resource for learning ...