Version: 0.12.13
Using the With property
Using the gevent to implement the Gevent is a third-party library, through the Greenlet implementation of the process, the basic idea is:
When an greenlet encounters an IO operation, such as accessing the network, it automatically switches to the other Greenlet, waits until the IO operation is complete, and then switches back to execution at the appropriate time. Since the switchover is done automatically during IO operations, Gevent needs to modify some of the standard libraries that Python comes with, which is done by monkey patch at startup
Base64
CGI (CGI is currently maintained by NCSA, NCSA defines CGI as follows: CGI (Common gateway Interface), generic gateway interface, it is a program that runs on the server such as: HTTP server, provides interface with client HTML page)
Email.utils
Functools.partial allows us to redefine the signature of a function by means of a wrapping method
HMAC HMAC uses a hashing algorithm, with a secret key and a message as input, to generate an encrypted string as output
Imp Imp.find_module can be used to import modules
Itertools Efficient Loop iterator
Mimetypes
Traceback getting the detailed exception message
Inspect a type check on whether a module, frame, function gets the parameter information of a class or function
Python bottle Source Reading