<div id= "article_content" class= "article_content tracking-ad" data-mod= "popu_307" data-dsm= "POST" >
<p><br>
</p>
<p>:<a target= "_blank" href= "https://page74.ctfile.com/fs/14147674-202805986" > Network tray Download </a></p >
<p><br>
</p>
<p><br>
</p>
<p></p>
Introduction to <span> content </span> <div class= "indent" id= "Link-report" style= "margin:0px; padding:0px; Word-break:break-all; Color:rgb (17,17,17); Font-family:helvetica,arial,sans-serif; line-height:15.552px ">
<div style= "margin:0px; padding:0px ">
<div class= "Intro" style= "margin:0px; padding:0px ">
<p style= "margin-top:0px; margin-bottom:0px; Text-indent:2em; Word-break:normal ">
<a href= "Http://lib.csdn.net/base/python" class= "Replace_word" title= "python Knowledge Base" target= "_blank" style= "color:# df3434; Font-weight:bold; " >Python</a> is a high-level programming language, because of its simplicity, easy to read and extensibility has become a highly respected language in the field of programming. </p>
<p style= "margin-top:0px; margin-bottom:0px; Text-indent:2em; Word-break:normal ">
This book teaches <a href= "Http://lib.csdn.net/base/python" class= "Replace_word" title= "python Knowledge Base" target= "by writing a small, fun game. Blank "style=" color: #df3434; Font-weight:bold; " >python</a> programming, and the use of direct display of the game's source code, through an example to explain how the principle of programming. A total of 21 chapters, 14 game programs and examples throughout, the Python basic knowledge, data types, functions, Process Control, program debugging, flowchart design, string manipulation, lists and dictionaries, graphics and animation, collision detection, sound and image, and other aspects of programming knowledge. This book can help readers to master the basic skills of Python game programming in a fun and easy process. </p>
<p style= "margin-top:0px; margin-bottom:0px; Text-indent:2em; Word-break:normal ">
This book is suitable for beginners of different ages and levels of Python programming. </p>
</div>
</div>
<div class= "Report" style= "margin:0px; padding:0px; Text-align:right; Visibility:hidden ">
<a target= "_blank" rel= "nofollow" href= "https://book.douban.com/subject/26868640/#" style= "Color:rgb ( 187,187,187); Text-decoration:none; Background-color:transparent "></a></div>
</div>
<span> Author Profile </span> <div class= "indent" style= "margin:0px; padding:0px; Word-break:break-all; Color:rgb (17,17,17); Font-family:helvetica,arial,sans-serif; line-height:15.552px ">
<div style= "margin:0px; padding:0px ">
<div class= "Intro" style= "margin:0px; padding:0px ">
<p style= "margin-top:0px; margin-bottom:0px; Text-indent:2em; Word-break:normal ">
Al Sweigart is a software developer in California State San Francisco. He likes to ride bikes, volunteer, brew coffee and develop useful software. He has written "quick start to Python game programming", "Python and Pygame Game Development Guide", "Python Cryptography Programming", "Python programming quick start-making tedious work automation" and other books, popular readers. He was born in Houston, Texas. He finished his computer science degree at the University of Texas at Austin. </p>
</div>
</div>
</div>
<span> Catalogue </span> <div class= "indent" id= "Dir_26868640_full" style= "margin:0px; padding:0px; Word-break:break-all; Color:rgb (17,17,17); Font-family:helvetica,arial,sans-serif; line-height:15.552px ">
1th. Installing Python 1<br>
1.1 Download and install Python 1<br>
1.2 Starting the Idle 2<br>
1.3 How to use this book 3<br>
1.4 Seek online Help 4<br>
2nd Chapter Interactive Shell 6<br>
2.1 Some simple mathematical knowledge 6<br>
2.2 Calculation Expression 7<br>
2.4 Chapter Summary 12<br>
The 3rd Chapter writes the procedure 13<br>
3.1 String 13<br>
3.2 String Connection 14<br>
3.3 Writing a program in the Idle file editor 14<br>
3.4 Hello world! 15<br>
3.5 Save Program 16<br>
3.6 Open a saved program 16<br>
3.7 How the "Hello World" program works 18<br>
3.8 Variable name 20<br>
3.9 Chapter Summary 21<br>
4th Chapter "Guess number" game 22<br>
4.1 Running example of the "Guess number" game 22<br>
4.2 "Guess number" game source code 23<br>
4.3 Import statement 24<br>
4.4 Random.randint () function 25<br>
4.5 Cycle 26<br>
4.6 Statement block 26<br>
4.7 Boolean data type 27<br>
4.8 comparison operator 28<br>
4.9 piece 28<br>
4.10 = and = = Difference 30<br>
4.11 While Loop statement 30<br>
4.12 using the Int () function, the float () function, str () <br>
function and the bool () function to convert the value 31<br>
4.14 If statement 33<br>
4.15 leave the Loop 34<br> early with the break statement
4.16 Flow Control Statement 36<br>
4.17 Chapter Summary 36<br>
5th Chapter Jokes 38<br>
5.1 Use a good print () function 38<br>
5.2 Jokes Game Run example 38<br>
5.3 Jokes game Source code 38<br>
5.4 Escape Character 39<br>
5.5 and double quotation marks 40<br>
The end keyword parameter of 5.6 print () 41<br>
5.7 Chapter Summary 42<br>
6th Chapter Dragon Realm 43<br>
6.1 Function 43<br>
6.2 How to play "Dragon Realm" 43<br>
6.3 Dragon Realm Game Run example 44<br>
6.4 Dragon Realm Source code 44<br>
6.5 def statement 46<br>
6.6 Boolean operator 47<br>
6.7 Return value 51<br>
6.8 Global scope and local scope 51<br>
6.9 formal parameters (parameter) 53<br>
6.10 Design Game 56<br>
6.11 Chapter Summary 57<br>
The 7th chapter uses the debugger 58<br>
7.1 bug! 58<br>
7.2 Debugger 59<br>
7.3 Stepping 61<br>
7.4 Find Bug 63<br>
7.5 Breakpoint 66<br>
7.6 Example of using breakpoints 67<br>
7.7 Chapter Summary 68<br>
8th Chapter Flowchart 69<br>
8.1 How to play Hangman 69<br>
8.2 Hangman Run Example 69<br>
8.3 ASCII word metalized 71<br>
8.4 Use flowchart to design a program 71<br>
8.5 Generating Flowchart 73<br>
8.6 Chapter Summary 79<br>
9th Chapter Hangman 81<br>
Source code for 9.1 Hangman 81<br>
9.2 Multi-line string 86<br>
9.3 Constant 86<br>
9.4 List 86<br>
9.5 Method 91<br>
9.6 String methods lower () and upper () 91<br>
9.7 List Methods Reverse () and append () 92<br>
9.8 List Method split () 93<br>
9.9 range () function and list () function 95<br>
9.10 for Loop 96<br>
9.11-Slice 98<br>
9.12 elif ("Else If") statement 101<br>
9.13 Chapter Summary 108<br>
10th Chapter Hangman Extension 109<br>
10.1 Dictionary 110<br>
10.2 Random.choice () function 113<br>
10.3 Multi-variable assignment 114<br>
10.4 Chapter Summary 116<br>
11th Tic Tac Toe 117<br>
11.1 Tic Tac Toe Run Example 117<br>
Source code for 11.2 Tic Tac toe 118<br>
11.3 Design Program 123<br>
11.4 Games ai 124<br>
11.5 References 129<br>
11.6 Short-circuit evaluation 137<br>
11.7 None Value 140<br>
11.8 Chapter Summary 146<br>
12th Chapter Bagels 147<br>
12.1 Bagels Run Example 147<br>
Source code for 12.2 Bagels 148<br>
12.3 Random.shuffle () function 151<br>
12.4 Compound assignment Operator 153<br>
12.5 List Method Sort () 154<br>
12.6 String Method Join () 155<br>
12.7 string interpolation 157<br>
12.8 Chapter Summary 160<br>
13th Cartesian coordinate 161<br>
13.1 Grid and Cartesian coordinates 161<br>
13.2 Negative 163<br>
13.3 Math Skills 164<br>
13.4 Absolute and ABS () function 166<br>
13.5 The coordinate system of the computer screen 167<br>
13.6 Chapter Summary 167<br>
14th. Sonar Treasure Hunt 168<br>
14.1 Sonar Treasure Hunt <br>
Run the example 169<br>
14.2 Sonar Treasure Hunt source code 173<br>
14.3 Design Program 179<br>
14.4 Find the nearest Treasure chest algorithm 185<br>
14.5 List Method Remove () 187<br>
14.6 Chapter Summary 195<br>
15th Chapter Caesar Cipher 196<br>
15.1 Cryptography 196<br>
15.2 Caesar Password 197<br>
15.3 ASCII code and alphanumeric notation 198<br>
15.4 Functions Chr () and Ord () 199<br>
15.5 Example of a Caesar password run 200<br>
15.6 Caesar Cipher Source code 201<br>
15.7 How the code works 202<br>
15.8 string Method Isalpha () 204<br>
15.9 String Method Isupper () and <br>
Islower () 205<br>
15.10 Brute Force hack 207<br>
15.11 Chapter Summary 209<br>
16th Chapter Reversi 210<br>
16.1 Reversi Run Example 211<br>
Source code for 16.2 Reversi 215<br>
16.3 How the code works 223<br>
16.4 bool () function 231<br>
16.5 Chapter Summary 244<br>
17th Chapter Reversi AI Simulation 245<br>
17.1 Let the computer play chess with oneself 245<br>
17.2 percent 250<br>
17.3 round () function 251<br>
17.4 aisim2.py Run Example 252<br>
17.5 comparison of different AI algorithms 252<br>
17.6 Chapter Summary 259<br>
18th. Graphics and animation 260<br>
18.1 Installing Pygame 260<br>
18.2 Pygame in the Hello World 261<br>
18.3 Hello World Source code 261<br>
18.4 Running the Hello World program 263<br>
18.5-Tuple 264<br>
18.6 RGB Color 265<br>
18.7 fonts and Pygame.font.SysFont () <br>
function 266<br>
18.8 Property 267<br>
18.9 constructor 269<br>
18.10 Pygame's drawing function 269<br>
18.11 Events and Game loops 272<br>
18.12 Animation 273<br>
18.13 Animation program source code 274<br>
How the 18.14 animation program works 276<br>
18.15 Running the program loop 279<br>
18.16 Chapter Summary 282<br>
The 19th chapter Collision detection and mouse/keyboard input 284<br>
<br> of 19.1 Collision detection Program
Source Code 284<br>
19.2 Collision Detection Algorithm 288<br>
19.3 when traversing a list,<br>
Do not modify the list 292<br>
19.4 keyboard Input program source code 293<br>
19.5 colliderect () method 300<br>
19.6 Chapter Summary 301<br>
20th. Sound and Image 302<br>
20.1 sound files and image files 303<br>
20.2 Elf and Sound program 303<br>
20.3 Sprites and Sounds program <br>
Source Code 304<br>
20.4 Pygame.transform.scale () function 308<br>
20.5 Chapter Summary 311<br>
21st Chapter Dodger 312<br>
21.1 Review the basic data types of Pygame 312<br>
Source code for 21.2 Dodger 313<br>
21.3 Full-screen mode 322<br>
21.4 Game Loop 325<br>
21.5 Event Handling 325<br>
21.6 move_ip () method 328<br>
21.7 Pygame.mouse.set_pos () function 331<br>
21.8 Modify Dodger game 335<br>
21.9 Chapter Summary 335</div>
<br>
<p></p>
<p><br>
</p>
<p><br>
</p>
<p>:<a target= "_blank" href= "https://page74.ctfile.com/fs/14147674-202805986" > Network tray Download </a><br >
</p>
</div>
"Python programming quick start for tedious work Automation" pdf