1. Python vs. Other languages
-C-Language interpretation code--machine-to-computer
-high-level languages such as python,java,php code---bytecode---machine----computer
2. Coding
-ASCII
1.ASCII only supports English 256, Chinese is not supported
-Unicode (Universal code)
1.unicode at least 16 people, Chinese and English at least 16 people
-Utf-8
1.utf-8 Chinese 3 bytes, 24 bits, English 1 bytes, 8 bits
-gbk/gbk2312
1.GBK is Chinese 2 bytes
Notice:python interpreter encoding, python3.* default encoding is Utf-8
3. Variables
A. Variables generally consist of letters, numbers, and underscores
B. Cannot start with a number
C. You cannot use some built-in commands as variables
D. Declaring variables using _ (underline) to differentiate words, or use hump
4. Comments
A. Single-line comment #
#!/usr/bin/python#print (' Hello Dragon ')
B. Multi-line comment "" "" ""
#!/usr/bin/python#! -*-coding:utf-8-*-"" "Print (' Hello Dragon ') print (' Hello Dragon ') print (' Hello Dragon ')" ""
6. List
Python automation Development-[first day]-basic data type and encoding