Python Programming: From Getting Started to Practice PDF introduction:

This is a Python primer for Python readers at all levels. The book is divided into two parts. The first part introduces the basic concepts you must understand to program in Python, including the introduction of powerful Python libraries and tools such as Matplotlib, NumPy, and Pygal, as well as lists, dictionaries, if statements, classes, files and exceptions, and code tests. Part 2 puts the theory into practice, explaining how to develop three projects, including simple Python 2D game development using data to generate interactive infographics, and creating and customizing simple Web applications, and helping readers solve common programming problems and puzzles.


 

Part I Basics Chapter 1 Starting 2 Chapter 2 Variables and Simple Data Types 15 Chapter 3 Introduction to Lists 31 Chapter 4 Operation Lists 44 Chapter 5 If Statements 64 Chapter 6 Dictionaries 81 Chapter 7 User input and while Loops 100 Chapter 8 Functions 114 Chapter 9 Classes 138 Chapter 10 Files and Anomalies 162 Chapter 11 Test code 187 Part 2 Item 1 Alien Invasion 202 Chapter 12 Armed Ship 203 Chapter 13 Alien 232 Chapter 14 Score 257 Project 2 Data Visualization 284 Chapter 15 Generating Data 285 Chapter 16 Downloading Data 312 Chapter 17 Using the API338 Item 3 Web Applications 354 Chapter 18 Getting Started with Django 355 Chapter 19 User Accounts 382 409 Appendix A Install Python436 Appendix B Text editor 441 Appendix C Ask for Help 447 Appendix D Use Git for version control 451 Postscript 460

 

Click on the download