Current location - Training Enrollment Network - Books and materials - Top Python books for beginners?
Top Python books for beginners?
Python novice? Or are you already an experienced developer and want to improve your Python knowledge? You can look at the list of books recommended by the educational administration teacher, which is suitable for Python development programmers at all levels.

If you are a beginner, please refer to these two books.

Python programming quick start, automation tedious work 2nd edition.

Programmers don't need to know much about mathematics.

The most common worry I hear about learning programming is that people think it needs a lot of mathematical knowledge. In fact, most programming only needs basic arithmetic operations. In fact, there is not much difference between being good at programming and being good at solving Sudoku problems.

To solve the problem of Sudoku, the number 1 ~ 9 must be filled in every row and column of a 9×9 chessboard and every 3×3 inner box. The system provides some numbers to help you get started, and then you can calculate and find the answer according to these numbers. For example, in the Sudoku problem of figure 0- 1, because 5 appears in lines 1 and 2, it cannot appear again in these lines. So in the 3x3 box in the upper right corner, it must be in the third row; Because the last column of the whole grid already has 5, in the 3×3 square in the upper right corner, 5 can't be on the right side of 6. Solving one row, one column or one box at a time will provide more numerical clues for the rest. As you fill in one set of numbers 1 ~ 9, and then fill in another set of numbers, the whole grid will soon be filled.

Figure 0- 1 A new Sudoku problem (left) and its answer (right). Although numbers are used, Sudoku doesn't need much mathematical knowledge.

Although Sudoku uses numbers, it doesn't mean that you must be proficient in mathematics to get the answer. The same is true of programming. Just like solving Sudoku problem, programming needs to decompose a problem into separate and detailed steps. Similarly, when "debugging" a program (that is, finding and fixing errors), you will patiently observe what the program is doing and find out the reasons for the errors. Like all skills, the more programs you write, the better you can master them.

As far as this book is concerned, it won't make you a professional software developer any more than taking a few guitar lessons will make you a rock star. But if you are an office worker, manager, academic researcher, or anyone who uses computers for work or entertainment, you will learn the basic knowledge of programming through this book, so that you can automatically complete the following simple tasks.

Move and rename thousands of files, classify them and put them in folders. Fill in the online form, but you don't need to type. Download files or copy text from the website when it is updated. Let the computer send text messages to customers. Update or format an Excel spreadsheet. Check email and send a pre-written reply. For people, these tasks are simple, but time-consuming. They are usually trivial and special, and there is no ready-made software to complete them. However, with a little programming knowledge, you can let the computer do these tasks for you.

Stupid way to learn Python 3

The purpose of this book is to get you started programming. Although the title says "bitter road" is used to learn to write programs, it is not. The so-called "stupid method" refers to the teaching method of this book, that is, the so-called "instruction" teaching. In this process, I will ask you to complete a series of exercises, and you will learn skills through repeated exercises, which are also designed for repeated exercises. For beginners who know nothing, this teaching method is very effective before they can understand more complicated topics. You can see this teaching method in various occasions, from martial arts to music, even when learning basic arithmetic and reading skills.

Through practice and recitation, this book will guide you to master the skills of programming in Python step by step, and then let you apply these skills to various problems from simple to deep. After reading this book, you will get the tools you need to learn complex programming topics. I like to tell others that my book can give you a "programming black belt". In other words, you have laid a good foundation and can really start learning programming.

If you are willing to work hard and invest some time to master these skills, you will learn how to write code.

The stupid way is easier.

With the help of this book, you will learn a programming language by completing the following very simple things, which is also the only way for every programmer.

1. Complete each exercise from beginning to end.

2. Enter each program word for word.

3. Let the program run.

That's it. It will be difficult for you at first, but you need to stick to it. If you read through a book and spend an hour or two doing exercises every night, you can lay a good foundation for reading your next programming book. This book may not make you a programmer overnight, but it will put you on the road to learning programming methods.

The purpose of this book is to teach you three important skills that beginners need to know: reading and writing, paying attention to details and finding differences.

Python Game Programming Quick Start 4th Edition

If you like games, or you even have your own game ideas, then this will be an excellent book to learn Python. In this book, you will learn the basics of programming and Python through practical exercises focusing on building classic games.

This book teaches Python programming by writing small and interesting games, and directly shows the game source code and explains the programming principle through examples. Chapter 2 1 of this book runs through it with 12 game programs and examples, and introduces Python basic knowledge, data types, functions, flow control, program debugging, flow chart design, string operation, list and dictionary, Cartesian coordinate system, cryptography foundation, game AI simulation, animation graphics, collision detection, sound and image programming. This book can help readers master the basic skills of Python game programming in a relaxed and interesting process. This book is suitable for beginners of Python programming at different ages and levels.

If you are a programmer with Python programming experience, please refer to the following books.

Think like a computer scientist about Python Second Edition.

Version 2 adds the following new features.

The contents and auxiliary codes of the book are updated to Python 3. Several sections and more details about the Web have been added to help beginners start running Python through browsers without facing the problem of installing Python prematurely. For the "turtle module" in the fourth chapter, I changed the implementation from my own Swampy turtle drawing package to a more standard Python module turtle, which is easier to install and more powerful. A new chapter "Python Treasures" (Chapter 19) is added to introduce some unnecessary but sometimes convenient features provided by Python. This book aims to train readers to understand Python programming like computer scientists. The main body of the book is how to think, design and develop, and the specific programming language only provides a convenient medium to introduce specific scenes.

Chapter ***2 1 of this book introduces all aspects of Python programming in detail. This book starts with the most basic programming concepts, including the grammar and semantics of the language. Each programming concept has a clear definition, leading readers to learn variables, expressions, statements, functions and data structures step by step. The book also discusses how to deal with files and databases, how to understand objects, methods and object-oriented programming, and how to use debugging skills to correct grammatical errors, runtime errors and semantic errors. Each chapter is equipped with a glossary and exercises to help readers consolidate their knowledge and skills. In addition, each chapter has a section to explain how to debug the program. The author summarizes all aspects of debugging according to the language characteristics or related development problems emphasized in each chapter.

Python cookbooks (third edition)

The theme of this book is inspired by the existing code and technology in the creation. We use these ideas as a springboard and try to write with the most modern Python programming technology, so the content of this book is completely original. This book can be used as a reference manual for anyone who wants to write code in a modern style.

In addition, there are many cheats to explain the new functions in Python 3, which are unfamiliar to many people, even those programmers who are experienced in using the old Python. We will also give priority to the universally applicable programming technology (that is, programming mode) as the theme, and will not choose those contents that try to solve a very specific practical problem but have too narrow application scope. Although specific third-party software packages are also mentioned in some chapters, most chapters of this book only focus on the language core and standard library.

The target readers of this book are experienced programmers who want to deepen their understanding of Python language and learn modern programming idioms. Most of this book focuses on advanced technologies used in libraries, frameworks and applications. This book assumes that readers have the necessary background knowledge (such as computer science knowledge, data structure, complexity calculation, system programming, concurrency, C language programming, etc.) to understand the theme of this book. In addition, the cheats mentioned in this book are often just a framework, which is intended to provide readers with necessary information, but readers need to do more research to fill in the details. Therefore, we assume that readers know how to use search engines and excellent Python online documents.

There are some more advanced chapters that will reward readers' patience. These chapters provide insights into how Python works at the bottom. You will learn new skills and technologies and apply them to your own code.

This book introduces some skills and methods of Python's application in various fields. Its topics cover data structures and algorithms, strings and texts, 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 scripts and system management, testing, debugging and exception, and C language extension.

This book covers many common problems in Python application and puts forward general solutions. The book contains a lot of practical programming skills and sample codes, and has been tested in Python 3.3 environment, which can be easily applied to practical projects. In addition, this book explains in detail how and why the solution works.

Python books most suitable for children

Python children's fun programming

Python children's fun series is carefully compiled by the best-selling author of children's programming. It is an interesting guide for children to learn Python programming. The book consists of 17 chapters, and the content of each chapter is from shallow to deep, step by step. Python children's fun series carefully selects the content, pays attention to moderate difficulty, the language is easy to understand, and the code examples are rich. At the end of each chapter, some exercises and answers are given.

Python children's fun series has the following characteristics:

Choose and organize the content carefully, and pay attention to moderate difficulty-covering basic knowledge, interesting applications and popular applications. Adhere to the concept and method of "learning by doing"-help readers learn and master through detailed examples and after-class exercises. Reflect the fun-write snake-eating games with cartoon characters such as robot cat and piggy Peggy drawn by tortoise, and divide them into classic The Journey to the West. Enhance scalability-a gradually expanded and improved "report card" sample program. The exercises at the end of this chapter not only consolidated the knowledge, but also expanded the programming skills. Python children's fun series is suitable for children who want to learn the basics of Python programming (especially children over 10) and parents who want to teach their children to learn programming. It is also suitable for teachers of children's programming training classes as teaching materials for children's programming training.

The interesting programs written by readers in this book include:

Help Johnson find his way home; Gradually expand and improve the sample program of "report card"; Robot cats painted with turtles; Draw Piggy Peggy with a turtle; Pinball game; Write a snake game; The Journey to the West's classic works are segmented. Interesting Python programming

Fun Python Programming is an introductory book to master Python programming easily and quickly. This book is divided into three parts, chapter *** 18. The part 1 is from chapter 1 to chapter 12, which introduces the basic knowledge of Python programming, including Python installation and configuration, variables, strings, lists, tuples and dictionaries, conditional statements, loop statement functions and modules, classes, built-in functions and drawings, etc. The second part is chapter 13 and chapter 14, which introduce how to develop pinball example games with Python. The third part, from chapter 15 to chapter 18, introduces the development process of the example stick figure game.

The language of Fun Python Programming is easy to understand and explain, which is convenient for readers to read and learn. Anyone interested in computer programming or new to programming, whether children or adults, can learn Python programming by reading this book.

If you have any questions about the self-taught/adult-taught examination, don't know the contents of the test sites for self-taught/adult-taught examination, and don't know the local policies for self-taught/adult-taught examination, click on Mr. official website at the bottom to get the review materials for free: /xl/