Home >Backend Development >Python Tutorial >What books should I read to learn Python by myself?
As the saying goes: If a worker wants to do his job well, he must first sharpen his tools! For those who are starting from scratch, learning Python is still a bit confusing. If there are some books to guide you, the difficulty of learning will be much reduced, and at the same time, it will improve the learner's ability. Confidence! Today I recommend these books for beginners to learn Python from scratch:
"Python Learning Manual: 3rd Edition"
"Python Learning Manual ( 3rd Edition)" tells the story: Python is portable, powerful, and easy to use, making it ideal for writing stand-alone and scripted applications. Whether you are new to programming or new to Python, by studying "Python Learning Manual (3rd Edition)", you can quickly and efficiently master the core Python language basics. After reading "Python Learning Manual (3rd Edition)", you will have enough understanding of this language to use it in any application field you are engaged in.
"Python Learning Manual (3rd Edition)" includes:
Types and operations - in-depth discussion of Python's main built-in object types: strings, numbers, lists, dictionaries, etc.
Statements and syntax - Enter code in Python to create and manipulate objects, as well as Python's general syntax model.
Function - Python's basic process-oriented tool for organizing code and reusing it.
Module - encapsulates statements, functions, and other tools so that they can be organized into larger components.
Classes and OOP - Python's optional object-oriented programming tools can be used to organize program code for customization and reuse.
Exceptions and Tools - Exception handling models and statements, and an introduction to development tools for writing larger programs.
"Python Programming from Introduction to Practical Combat"
The content covered in this book is relatively concise, there are no difficult and obscure concepts, the most important thing is each summary All come with a "try it yourself" link. The best way to learn programming is to use your hands more and your brain more.
Many beginners don’t know what to do next after reading the book. The best way to quickly improve their programming skills is to do projects, and this book cleverly arranges three practical projects, one game and one Web And a data visualization project, if you follow the tutorial and complete the project, I believe your programming skills will definitely rise to a higher level.
This book also has a special chapter on unit testing. Being able to write unit tests is an essential skill for junior programmers to advance to senior programmers.
"Learning Python the "Stupid Way" (3rd Edition)"
is an introductory book to Python, suitable for people who don't know much about computers and have never learned programming. But it is used by beginners who are interested in programming. The structure of this book is very simple, covering the three topics of input/output, variables and functions, as well as some more advanced topics, such as conditional judgment, loops, classes and objects, code testing and project implementation, etc. The format of each chapter is basically the same, starting with a coding exercise, following the instructions to write the code, running it and checking the results, and then doing additional exercises. This book guides readers to learn programming step by step in the form of exercises, from simple printing to the realization of a complete project, allowing beginners to start with basic programming techniques and finally experience the basic process of software development. This book is more friendly to novices with no basic knowledge and is more suitable for starting programming. It is the best choice for getting started with Python!
Finally, I would like to remind everyone that no matter which language you learn, you must actually type it. Never Ctrl c or Ctrl v. In the process of continuous trial and error, improve your ability to solve problems and Only with programming ability can you go further and further on the road of programming!
The above is the detailed content of What books should I read to learn Python by myself?. For more information, please follow other related articles on the PHP Chinese website!