Python-Review of Knowledge Points

1. Modules and packages

1. What is a module?

2. What is a package?

3. What is the difference between a module and a package?

json、pickle

1. What is serialization?

2. What are the advantages and disadvantages of json and pickle?

shelve

1. What is shelve?

hashlib

1. What is hashlib?

2、md5

function

1. What is a function?

2. The parameters of the function?

3. The return value of the function

scope

1. Namespace

2. Scope

3. Search order of functions

Closure

1. What is a closure

2. What is the meaning of closure

decorator

1. What is a decorator

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324804804&siteId=291194637