First, the initial module
1, the standard library modules :
(1) Os module
① and operating system interaction: Example: Run Code
(2) Sys module
① script + parameters - "result
2, third-party library modules: Django , Mysql ...
There is E: \ Python3.6.5 \ Lib \ site -packages under
Second, the data type
(1) Int and long
(2)Float
(3)Complex
(4) Boolean
(5) a string
(. 6) Bytes : by encoding and decoding conversion and string Note: Socket network transmission transmitted in binary form
Third, lists and tuples
① List
1 slice: care regardless tail
2, additional
3, add, delete, search, change
4, expansion
5, copy: deep and shallow
6, statistics, sort and flip, get subscript
② tuple: read-only
1、Count
2、Index
Fourth, the string (not modified)
1, various format
2、Index
3, Is Series
4, encryption
5, the various symbols completion
V. dictionary (modifiable)
(1) check the change deletions
(2) multi-level nested
(3) Other functions