Start learning Python from 0 and ask you a question: Do you panic?
To be honest, panic may be because you don’t have a complete plan. In fact, you don’t know where to start. But today, I want to tell you, don’t panic! Just a few days ago, I got a set of “Three Best Python Programmers” from a friend: Python Programming: Getting Started to Practice + Python Programming: Getting Started – Automating Tedious Work + Python Geek Project Programming – The Complete Version **. After reading it, I have sorted it out (PDF). It is very hardcore!
First book: Programming Python: Getting Started to Practice
For readers of any age, it doesn’t require you to have any Python programming experience. It’s designed to get you up to speed in Python so you can write programs that work correctly — games, data visualization, and Web applications — while mastering the basics of programming that will last a lifetime.
1.1 Programming Python: Getting Started to Practice Part 1: Basics
Introduces you to the basic concepts you need to be familiar with when writing Python programs. Many of these concepts apply to all programming languages, so they will be useful throughout your programming career.
- Chapter 1: Describes installing Python on your computer and running the first program — which prints the message “Hello World!” on the screen. .
- Chapter 2: Discusses how to store information in variables and how to use text and numbers.
- Chapters 3 and 4: Introduce lists. Using lists allows you to store any amount of information in a variable and process data efficiently: with just a few lines of code, you can process hundreds, thousands, or even millions of values.
- Chapter 5: Explains using the if statement to write code that takes one action if a particular condition is met and another action if the condition is not met.
- Chapter 6: Shows how to use Python dictionaries to correlate different pieces of information. As with lists, you can store as much information as you want in a dictionary.
- Chapter 7: Explains how to get input from the user to make the program interactive. You’ll also learn about the while loop, which keeps running a block of code until the specified condition is no longer met.
- Chapter 8: Describes writing functions. A function is a named block of code that performs a specific task, and you can run it whenever you want.
- Chapter 9: Introduction to classes that allow you to simulate real things like dogs, cats, people, cars, rockets, etc., allowing your code to represent anything real or abstract.
- Chapter 10: Shows you how to use files and how to handle errors so your program doesn’t crash unexpectedly. You need to save the data before the program closes and read it when the program runs again. You’ll learn about Python exceptions, which allow you to plan ahead so your program can handle errors properly.
- Chapter 11: Write tests for your code to verify that your program works as you expect it to. This way, when you extend your application, you don’t have to worry about introducing new bugs. Testing code is one of the basic skills you must master in order to move out of the beginner programmer lineup and into the intermediate programmer ranks.
1.2 Programming Python: Getting Started to Practice, Part 2: Projects
By developing hands-on projects, you learn new skills and gain a deeper understanding of the concepts introduced in Part 1. Part 2 contains three different types of projects, and you may choose to complete any or all of them, regardless of the order in which you complete them.
- Project 1: Alien Invasion: Game development in Python
In the project “Alien Invasion” (Chapters 12-14), you use the Pygame package to develop a 2D game that raises the player one level for every time the player kills a group of downmoving aliens; The higher the level, the faster and more difficult the game. After completing this project, you will have acquired the skills you need to develop 2D games using Pygame yourself.
- Project 2: Data visualization
The “Data Visualization” project begins in Chapter 15. You’ll learn how to use Matplotlib and Pygal to generate data and create useful and beautiful charts from that data. Chapter 16 shows how to take data from the Web and feed them into visualization packs to create weather maps and world population maps; Finally, Chapter 17 shows you how to write a program that automatically downloads and visualizes data. Learning visualization allows you to explore the field of data mining, a skill that is currently in high demand around the world.
- Project 3: Web applications
In the “Web Applications” project (Chapters 18-20), you’ll use the Django package to create a simple Web application that lets users record any number of topics they’ve been studying. A user creates an account by specifying a username and password, entering a topic, and writing an entry to record what is learned. You’ll also learn how to deploy the application so that anyone in the world can access it.
By the end of this project, you’ll be able to create a simple Web application yourself and learn more about how to develop applications using Django
Second book: Get Started with Python Programming – Automate Tedious Tasks
This is a hands-on guide to Python programming. The purpose is not only to introduce you to the basics of the Python language, but also to teach the reader how to apply this knowledge and skills through hands-on projects. Suitable for any reader who wants to learn programming in Python, especially for beginners who lack basic programming skills. At the end of each chapter, some problem sets and in-depth practice projects are provided to help readers consolidate what they have learned. The appendix provides solutions to all the problem sets.
2.1 “Getting Started with Python programming — Automating Tedious Tasks” part 1: Basics of Python Programming
- Chapter 1: Basics of Python covers expressions, the most basic types of Python instructions, and how to try to run code using the Python interactive environment.
- Chapter 2, Control Flow, explains how to let a program decide which instructions to execute so that the code can respond intelligently to different situations.
- Chapter 3, Functions, shows you how to define your own functions to organize your code into manageable parts.
- Chapter 4, Lists, introduces list data types and explains how to organize data.
- Chapter 5: Dictionaries and Structured Data, which introduces dictionary data types and shows more powerful ways to organize data.
- Chapter 6: String manipulation, which introduces working with text data (called strings in Python).
2.2 Getting Started with Python Programming — Automating Tedious Tasks, Part 2: Automating Tasks
- Chapter 7: Pattern Matching and regular expressions explains how Python uses regular expressions to process strings and find patterns in text.
- Chapter 8: Reading and Writing files explains how a program reads the contents of a text file and saves the information to a file on the hard disk.
- Chapter 9, Organizing files, shows how Python can copy, move, rename, and delete large numbers of files much faster than manual operations, and also explains how to compress and decompress files.
- Chapter 10: Debugging shows how to use Python’s defect finding and defect fixing tools.
- Chapter 11: Scraping information from the Web shows how to program to automatically download Web pages, parse them, and retrieve information. This is called scraping information from the Web.
- Chapter 12: Working with Excel Spreadsheets describes programming Excel spreadsheets so you don’t have to read them. This is helpful if you have to analyze hundreds or thousands of documents.
- Chapter 13: Processing PDF and Word documents, introduces programming to read Word and PDF documents.
- Chapter 14: Working with CSV files and JSON data explains how to programmatically manipulate CSV and JSON files.
- Chapter 15: Hold time, Schedule Tasks, and start programs explains how Python programs handle times and dates and schedule a computer to perform a task at a specific time. This chapter also shows how Python programs can start non-Python programs.
- Chapter 16: Sending Email and SMS explains how to program to send email and SMS.
- Chapter 17: Manipulating images explains how to program to manipulate images like JPG or PNG.
- Chapter 18: Controlling the keyboard and mouse with GUI Automation explains how to programmatically control the mouse and keyboard and automate mouse clicks and keystrokes.
2.3 Get started with Python programming – Automate tedious tasks
Book 3: Programming for Geek Projects in Python – The Complete Version
Help and encourage readers to explore the world of Python programming through 14 fun projects. For those who want to try and explore Python programming, for those who understand basic Python syntax and basic programming concepts to further study, for Python programmers have some inspiration and reference value.
3.1 Programming for Geek Projects in Python – The Complete Edition Part 1: Warm-up exercises
- Chapter 1: Shows how to parse iTunes playlist files and gather useful information from them, such as track length and common tracks.
- Chapter 2: Using parametric equations and turtle diagrams, draw curves similar to those produced by a swash-square.
3.2 Programming for Geek Projects in Python – Complete Edition Part 2: Simulating Life
This part uses mathematical models to simulate phenomena.
- Chapter 3: Will learn how to implement Conway’s game of Life algorithm to generate dynamic patterns to create other patterns to simulate an artificial life.
- Chapter 4: shows how to use the Karplus-strong algorithm to create realistic pluck sounds.
- Chapter 5: You will learn how to implement a bird-like swarm algorithm to simulate the clustering behavior of birds.
3.3 Programming for Geek Projects in Python – The Complete Edition Part 3: The Joy of Graphics
This section describes reading and manipulating 2D images using Python.
- Chapter 6: shows how to create ASCII art diagrams from images.
- Chapter 7: Photo stitching will be carried out.
- Chapter 8: you will learn how to generate three-dimensional graphs, which give the illusion of a 3D image.
3.4 Programming the Python Geek Project – The Complete Edition Part 4: Into 3D
This part of the project uses OpenGL’s 3D graphics library.
- Chapter 9: Covers the basics of creating simple 3D graphics using OpenGL.
- Chapter 10: We will create a particle simulation of the firework fountain, which is calculated and rendered using mathematics and OpenGL shaders.
- Chapter 11: We will use OpenGL shaders to implement stereo raycasting algorithms to render stereo data, a technique commonly used in medical imaging, such as MRI and CT scans.
3.5 Programming for Geek Projects in Python – Complete Edition Part 5: Playing with Hardware
In the final installment, you’ll explore the Arduino microcontroller and raspberry PI in Python
- Chapter 12: Sensor data will be read and plotted using a simple circuit with Arduino.
- Chapter 13: Python and Arduino will be used to control two rotating mirrors and lasers to generate a laser show that responds to sound.
- Chapter 14: Raspberry PI will be used to build a web-based weather monitoring system.
OK, space is limited, the strongest “Python programming three musketeers” : From entry to practice “+” Python programming quick-and-dirty – let the tedious work automation “+” Python programming geek project – full version “is introduced to this, generally contains the content of the above are probably that must brush friends here also have a general idea of the programming notes hardcore, study together, progress together – ღ original PDF
Thank you for your company and support, I hope you can learn from every blog I share!