If you could only recommend 3 books on python, which 3 would you recommend?

If I could only recommend 3 Python books, I would recommend these 3.

The first book: Quick start of Python programming to automate tedious work, 2nd edition  Douban score 8.9

This book is a practical guide to Python programming for beginners. This book not only introduces the basic knowledge of Python language, but also teaches readers how to use these knowledge and skills through case practice. The first part of the book introduces basic Python programming concepts; the second part introduces a number of different tasks that can be automated by a computer by writing Python programs . Each chapter of the second part has some project procedures for readers to learn. Some exercises are provided at the end of each chapter in this book. In addition to Chapters 1 and 2, in-depth practice projects are also provided at the end of each chapter to help readers consolidate the knowledge they have learned.

This book is suitable for any reader who wants to learn programming through Python, especially for beginners who lack programming foundation. By reading this book, readers will be able to take advantage of a very powerful programming language and tools, and experience the joy of programming in Python.

As mentioned in the book: Ask programming questions intelligently

If you can't find an answer online, try asking on a forum like Stack Overflow or the Reddit subreddit " learn programming ". But remember to ask programming questions in a smart way, it helps others to help you. Make sure to read the Frequently Asked Questions (FAQ) on these sites to learn the proper way to ask questions.

Here are a few things to keep in mind when asking programming questions.

  • State what you intend to do, not just what you did. This will let the person helping you know if you're on the wrong track.
  • Clearly point out where the error occurred. Indicate whether it happens every time the program starts, or after you do some action.
  • Copy and paste the full error message along with your code to Pastebin or GitHub Gist. These sites make it easy to share large amounts of code with others online without losing any text formatting. You can then put the URL of the posted code in an email or forum post.
  • Explain what you have tried to solve the problem. This tells others that you've put some work into figuring out the situation.
  • List the version of Python you are using ( there are some important differences between the Python 2 interpreter and the Python 3 interpreter). Also, state the operating system and version you are using.
  • If the error occurs after you changed the code, state exactly what you changed.
  • State whether the error recurs every time the program is run; or if it occurs only after specific actions are taken, and if so, explain which actions.
  • Follow good online civility. For example, don't ask questions in all caps, or make unreasonable demands on someone trying to help you.

The second book: The stupid way to learn Python 3 Douban score 8.1

The purpose of this book is to get you started with programming. Although the title of the book says to use the "Hard Way" (stupid way) to learn to write programs, it is not the case. The so-called "stupid method" refers to the teaching method of this book, which is the so-called " instructive " teaching. Along the way, I'll have you complete a series of exercises that are also designed for repetition while you build skills through repetition. This method of teaching works well for beginners who know nothing until they can understand more complex topics. You can see this taught in everything from martial arts to music, and even when learning basic arithmetic and reading skills.

Through practice and memorization, this book guides you to gradually master the skills of using Python programming, and then allows you to apply these skills to various problems from the shallower to the deeper. After finishing this book, you'll have access to the tools you need to learn complex programming topics. I like to tell people: this book of mine will give you a "black belt in programming". It means that you have laid the foundation and can really start learning programming.

If you work hard and put in some time, you'll learn how to code when you master these skills.

This book is an introductory book on Python, suitable for readers who don't know much about computers and have never learned programming, but are interested in programming. This book uses exercises to guide readers to learn programming step by step, 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 written based on Python 3.6 version.

The structure of this book is very simple. In addition to "preparation work", it also includes 52 exercises, 26 of which cover the three topics of input/output, variables and functions, and the other 26 cover 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 code exercises, following the instructions to write the code, running and checking the results, and then doing additional exercises.

The third book: Advanced Book  Python Core Programming (3rd Edition) Douban score 9.2

This book is intended for experienced programmers who want to deepen their understanding of the Python language and learn modern programming idioms. Much of the book focuses on advanced techniques used in libraries, frameworks, and applications. This book assumes that the reader already has the necessary background knowledge (such as general knowledge of computer science, data structures, complexity calculations, systems programming , concurrency, C programming, etc.) to understand the subject matter of this book. In addition, the cheats mentioned in this book are often only a skeleton, intended to provide the necessary information to get the reader started, but require the reader to do more research to fill in the details. Therefore, we assume that the reader knows how to use a search engine as well as the excellent Python online documentation.

This is not a book for beginners learning Python programming for the first time. In fact, this book already assumes that readers have basic knowledge through Python tutorials or introductory books. This book is also not intended to be used as a quick reference manual (ie, to quickly look up a function in a particular module). Instead, the book's goal is to focus on specific programming topics, presenting possible solutions and using them as a springboard to more advanced topics. These are things you may have come across online or in reference books.

This book introduces some usage skills and methods of Python applications in various fields. Its topics cover data structures and algorithms, strings and text, numbers, dates and times, iterators and generators, files and I/O, data encoding and processing, functions, classes and objects, metaprogramming, modules and packages, network and Web programming, concurrency, practical scripting and system management, testing, debugging and exceptions , C language extensions , etc.

This book covers many common problems in Python applications and proposes common solutions. The book contains a large number of practical programming skills and sample codes, and has been tested in the Python 3.3 environment, which can be easily applied to actual projects. In addition, the book explains in detail how and why the solutions work.

This book is very suitable for Python programmers with a certain programming foundation to read and reference.

Learn Python Online Resources

http://docs.python.org

Needless to say, the online documentation that comes with Python is an excellent resource if you need to delve into the details of the language and explore individual modules. Just make sure you are looking at the documentation for Python 3, not the old version.

http://www.python.org/dev/peps

If you want to understand the motivation for adding new features to the Python language and some subtle implementation details, then PEPs (Python Enhancement Proposals) are definitely a valuable reference resource. Especially for some more advanced language features. While writing this book, we found that PEPs were often more helpful than official documentation.

http://pyvideo.org

There are a large number of video talks and tutorials here, the material is taken from the most recent PyCon conference, user group meeting, etc. An excellent resource for learning about modern Python development. In many of the videos, core Python developers will speak about the new features that will be added to Python 3.

http://code.activestate.com/recipes/langs/python

For a long time, thousands of solutions to specific programming problems have been found on ActiveState's Python section. At the time of writing this book contains about 300 Python 3-specific cheats. You'll find that many of these recipes either expand on topics already covered in this book, or narrow them down to focus on more specific tasks. Therefore, it is a good companion when learning Python 3.

http://stackoverflow.com/questions/tagged/python

There are currently over 175,000 questions on Stack Overflow marked as Python-related (and about 5,000 of these are Python 3-specific). Although the quality of each question and answer varies, there is still plenty of good material to be found.

Guess you like

Origin blog.csdn.net/epubit17/article/details/131502527