Home  >  Article  >  Backend Development  >  5 recommended articles about python basics

5 recommended articles about python basics

黄舟
黄舟Original
2017-06-12 13:48:111598browse

1. Variable naming rules 1. Variable names can only be any combination of letters, numbers, and underscores 2. Variable names cannot start with numbers 3. Some reserved fields cannot be used as custom variable names 4. Variable names need to have a clear meaning. For example, a variable that saves a name is best defined as a variable name such as name. 2. Character encoding The function of character encoding is to convert input characters into machine codes. ASCII code is the earliest character encoding in the world. The earliest character encoding in China is GB2312, which contains more than 7,000 Chinese characters and symbols. After the first expansion, more than 20,000 Chinese characters were included. The character encoding is GBK1.0. The second After this expansion, a total of more than 27,000 Chinese characters were included, and the character encoding is GB18030. In order to unify character encoding internationally, Unicode character encoding was introduced because this encoding requires more storage space than the original ASCII encoding when storing English. Later, After compression optimization, UTF-8 character encoding was introduced. This encoding is still one character per byte when storing English, and three bytes when storing a Chinese character. 3. Python user interactive program Python has a variety of interactive programs, which can also be called interpreters. The most commonly used interactive program is CPython

1. Detailed explanation of python basic knowledge

5 recommended articles about python basics

Introduction: python has a variety of interactive programs, which can also be called interpreters. The most commonly used interactive program is CPython, and the fastest code running speed is PyPy.

2. Summary of learning python basic knowledge string

5 recommended articles about python basics

Introduction: This article introduces a summary of the basic knowledge of strings in learning python

3. Basic knowledge of Python functions

5 recommended articles about python basics

#Introduction: This article starts from the internal functions provided by the system, the function library provided by the third party + the simple crawling out of the code and the process of installing the httplib2 module and user customization The function is described in three aspects. Has very good reference value. Let’s take a look with the editor below

4. Collection of summary of basic python knowledge

Introduction: This article I will give you a summary of the basic knowledge of collections in Python. It is very simple and easy to understand. Friends who need it can refer to it.

5. Python basic introductory study notes (Python environment construction)

5 recommended articles about python basics

Introduction: This article mainly introduces the basic introductory study notes of python. This is the first article to start learning the basic knowledge of python. Only by consolidating the Python basics can you go further. Interested friends can Please refer to

[Related Q&A recommendations]:

python - datetime time output problem

The above is the detailed content of 5 recommended articles about python basics. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn