This section outlines:
- Module Introduction
- Time &datetime Module
- Random
- Os
- Sys
- Shutil
- JSON & Picle
- Shelve
- XML processing
- YAML processing
- Configparser
- Hashlib
- Subprocess
- Logging module
- Re-regular expression
Reprint: http://www.cnblogs.com/alex3714/articles/5161349.html
module, which implements a set of code for a function with a mound code.
Like functional programming and process-oriented programming, functional programming accomplishes a function, and other code is used to invoke it, providing reusability of code and coupling between the code. For a complex function, multiple functions may be required to complete (functions can be in different. py files), and the Code collection consisting of N. py files is called a module.
such as: OS is a system-related module; file is a module related to the operation of files
The modules are divided into three types:
- Custom Modules
- Built-in standard module (also known as standard library)
- Open source Module
Reference http://www.cnblogs.com/wupeiqi/articles/4963027.html for the use of custom modules and open source modules
5-python Automation-day05