Recently, OpenSource conducted a survey of authors in the community: Share your favorite Python books, and there are 18 on the list (there are 15 in this article). The list doesn’t break them down into beginner and advanced books, because the basics are important for both beginner and advanced programmers.


Getting Started with Python Programming



The book is the perfect choice for anyone who wants to start learning and using Python. It is distributed under a Creative Commons shared license, and the author has created a website for the book, most of which is covered by online courses at Udemy.com. If you like a video format, you can also listen to AIbert on YouTube (https://bit.ly/1TcdzYu).


2. Effective Python Chinese



This book will help you write powerful, high school, maintainable, and performing code in Python. Brett Slatkin has compiled 59 best Python practices, tips, and real-world code examples from leading experts


3. Smooth Python


Written by Luciano Ramalho, who has been on the front lines of Python development for nearly 20 years, this book dissects the details of programming from the level of language design, taking into account both Python 3 and Python 2. It shows you the causes and solutions of the language traps in Python that you can’t understand without working with your hands. And teach you how to write native Python code.


4. Hello Web App


This is a series that shows you how to build your first Web application using Django (recently updated to Django 2.0). It’s great for beginners, there’s a book for intermediate programmers, and several of the books in the design series are very good. The series covers paper books, 28 videos and e-books


5. Get Started with Python Game Programming


Motivation is one of the most important factors in learning to program, and this fun programming book will keep you motivated. It teaches you Python programming through small, fun games. It is perfect for Python beginners of all ages and levels, so that you can have fun while learning Python.


6. Python Learning Manual (4th Edition)


The book is an easy-to-master, self-taught tutorial based on the famous Python training courses of author Mark Lutz. Each chapter contains a separate lesson on key aspects of the Python language, and includes a unique “worksheet” section with practical exercises and tests so you can practice new skills and test your understanding as you learn.


7. Learning Python

For first-time Python programmers, but not for first-time Python readers, this book provides the easiest way to learn Python. It’s a great starting point for beginners

Learn to Program with Python 3


Fully updated for Python 3, complete with code and examples, this book explains Python programming in a step-by-step way that will ease you into software development.


Programming Arcade Games with Python and Pygame


This book shows you how to build cool and fun arcade games using Python and the PyGame framework. Learning game programming is a great way to learn Python, and the most fun way to do it. You’ll see your code come alive on screen, and the book covers important basics


10. Python 101


This book is perfect for beginners, and it’s very down-to-earth, so you’ll have a solid foundation in Python by the end of it.


Python 3 Object-oriented Programming


Once you’ve learned your initial and intermediate Python skills, this book is a way to take your skills to the next level, covering more object-oriented programming


12. Python Cookbook Chinese Edition, 3rd Edition


This book is aimed at professional Python programmers. It introduces some techniques and methods of using Python applications in various fields, covers many common problems in Python applications, and proposes common solutions. The book contains plenty of practical programming tips and sample code, tested in a Python 3.3 environment, that can be easily applied to real-world projects.


Python Tricks: The Book


This book introduces readers to some interesting, but often overlooked, syntactic areas of the language, as well as the pros and cons of using the official Python interpreter, CPython. Through this learning, programmers learn how to optimize code efficiently in extreme situations.


14. Way to master Python


This is not a regular introduction to Python, but a thorough and systematic introduction to building a complete Python application from a hands-on standpoint.


15. The Quick Python Book


Author Naomi Has long been a member of the Python community. Now in its third edition, this book focuses on object-oriented programming for Python3, with the first chapters focusing on the basics and the second on data structures and design patterns

If you have read any of these books or highly recommend them, share them in the comments.