Knowledge base outlined in python

1 ctrl + alt + l punctuation key combination specification Code

2. The list of add and remove list.append (target) list.remove (target)

3. Leave function of the amount of decimal places round Usage: round (target value, number of decimal places)

4. custom function def function name (parameter 1, parameter 2, ....) function body

5. Invoke the function name (parameter 1, parameter 2, ....)

6. The installation of the library name pip install libraries such as pip install xlrd

Use 7.xlrd library variable name xlrd.open_workbook = ( ' drive: / filename .xls ' ) Note: "/" and " \ \ \ \ " difference oh

2019-10-04 18:05:05 Friday

Guess you like

Origin www.cnblogs.com/jianai-0496/p/11627706.html