Exclusive on the whole network: Huawei's 495-page "Learn Python by Reading Comics" full-color PDF, entertaining and entertaining, the best first-time teacher for beginners!

Speaking of programming languages, Python may not be the most widely used, but it must be the most talked about now. With the rise of big data and artificial intelligence in recent years, more and more Python has appeared in people's vision.

In various companies, Python is also often used for rapid prototyping to verify product concepts more quickly. And many geeks also regard Python as a magic weapon to realize their wild ideas.

Such a wide range of applications, coupled with a simple and easy-to-understand syntax , makes Python a language that is both suitable for beginners and worthy of in-depth study. Even if you are not a programmer, you can write a short program in Python and call several interfaces, which can greatly improve your work efficiency. So even Bruce Eckel, a C++ expert, has to sigh:


Life is short, you need Python

From this point of view, it is reasonable for Python to become more and more popular. As a result, people from all walks of life continue to join the trend of learning Python, but students who want to get started with Python are still at a loss. Although there are a lot of information on the Internet, many of them are relatively one-sided, and many of them are pure. Text documents are not very friendly to some students who want to change careers by themselves or who are just getting started .

Today, I would like to share with you a copy of "Learn Python by Reading Comics" officially produced by Huawei . The author of this book has repeatedly deliberated on the accuracy of each cartoon expression, and presents a high-quality comic Python technical book to readers.

Applicable people: Whether you are a college student majoring in computer-related majors, a professional who is engaged in software development, or even a layman with no foundation, this book is suitable for you to read and learn.

A total of 495 pages, including data types , operators, program flow control, strings, functions, file reading and writing and multi-threading, etc., anyone can read and learn, it is recommended to take it to learn! The following are screenshots of some of the contents of this document.

Due to the length of the article, those who need the complete PDF electronic version can get it for free at the end of the article!

Table of contents

  • Mailbox full! ready to go!
  • basics of programming
  • Numeric data
  • operator
  • program flow control
  • container type data
  • string
  • function
  • classes and objects
  • exception handling

Numeric data

  • Data Types in Python
  • integer type
  • floating point type
  • plural type
  • Boolean type
  • Mutual conversion of digital types

Due to space reasons, all chapters will not be shown in screenshots one by one. The above-mentioned full version of the full set of learning materials for Python has been uploaded to CSDN. If you need it, you can scan the QR code of CSDN official certification below on WeChat to get it for free [guaranteed 100% free]

function

  • define function
  • Call functions
  • the default value of the parameter
  • variable parameter
  • Scope of Variables in Functions
  • function type
  • Lambda function


Common built-in modules

  • Mathematical Calculation Module
  • datetime module
  • Regular Expression Module
  • How to find module help information using the official documentation

access database

string

  • String representation
  • Conversion between strings and numbers
  • format string
  • operation string
  • Move your hands - count the frequency of words in English articles
  • practice

Chapter 8 Functions

  • define function
  • Call functions
  • the default value of the parameter
  • variable parameter
  • Scope of Variables in Functions
  • function type
  • lambda() function
  • Getting your hands dirty - using more lambda() functions
  • practice

Chapter 9 Classes and Objects

  • object oriented
  • define class
  • create object
  • class members
  • encapsulation
  • Inheritance
  • polymorphism
  • practice

Chapter 10 Exception Handling

  • The first exception - divide by zero exception
  • catch exception
  • Use the finally block to release resources
  • custom exception class
  • Move your hands - raise exceptions manually
  • practice

Chapter 11 Commonly Used Built-in Modules

  • Mathematical calculation module - math
  • Date time module - datetime
  • Regular expression module - re
  • DianDiaDian——How to use the official documentation to find module help information
  • practice

Chapter 12 File Reading and Writing

  • open a file
  • close file
  • read and write text files
  • Move your hands - copy text files
  • Read and write binary files
  • Get your hands dirty - copying binaries
  • practice

Chapter 13 Graphical User Interfaces

  • Graphical User Interface Development Libraries in Python
  • Install wxPython
  • The first wxPython program
  • custom window class
  • Add controls to the window
  • event handling
  • layout management
  • control
  • Dial dial—how to use wxPython official documentation
  • practice
    ...

Due to space reasons, all chapters will not be shown in screenshots one by one. The above-mentioned full version of the full set of learning materials for Python has been uploaded to CSDN. If you need it, you can scan the QR code of CSDN official certification below on WeChat to get it for free [guaranteed 100% free]

Guess you like

Origin blog.csdn.net/BlueSocks152/article/details/131110966