random hashlib os sys json __name__ shutil xlrd xlwt xlutils ConfigParser argparse yaml
核心模塊:os sys _ _builtin_ _ exceptions stat string re math cmath operator copy atexit time types gc
更多標准模塊: fileinput tempfile StringIO cStringIO mmap UserDict UserList UserString traceback errno getopt getpass glob fnmatch random whrandom md5 sha crypt rotor zlib code
線程和進程:threading Queue thread commands pipes popen2 signal
數據表示:array struct xdrlib marshal pickle cPickle copy_reg pprint repr base64 binhex quopri uu binascii
文件格式: xmllib xml.parsers.expat sgmllib htmllib htmlentitydefs formatter ConfigParser netrc shlex zipfile gzip
郵件和新聞消息處理: rfc822 mimetools MimeWriter mailbox mailcap mimetypes packmail mimify multifile
網絡協議: socket select asyncore asynchat urllib urlparse cookie robotparser ftplib gopherlib httplib poplib imaplib smtplib telnetlib nntplib SocketServer BaseHTTPServer SimpleHTTPServer CGIHTTPServer cgi webbrowser
國際化:locale unicodedata ucnhash
多媒體相關模塊:imghdr sndhdr whatsound aifc sunau sunaudio wave audiodev winsound
數據儲存:anydbm whichdb shelve dbhash dbm dumbdbm gdbm
工具和實用程序 : dis pdb bdb profile pstats tabnanny
其他模塊: fcntl pwd grp nis curses termios tty resource syslog msvcrt nt winreg posix
執行支持模塊:dospath macpath ntpath posixpath strop imp new pre sre py_compile compileall ihooks linecache macurl2path nturl2path tokenize keyword parser symbol token
其他模塊:pyclbr filecmp cmd rexec Bastion readline rlcompleter statvfs calendar sched statcache grep dircache dircmp cmp cmpcache util soundex timing posixfile bisect knee tzparse regex regsub reconvert regex_syntax find
datatime random json pickle shelve
xml hashlib logging urllib2 shutil itchat subprocess argparse re sys os socket multiprocessing time yaml httplib imp glob logging.handlers urllib
hashlib ConfigParser errno requests importlib settings threading random getpass tempfile traceback simplejson optparse range
__init__
一會看:https://blog.csdn.net/ruanxingzi123/article/details/82787852
運維常用模塊 https://blog.csdn.net/bbwangj/article/details/80815431
參考文獻:Python模塊大全 https://blog.csdn.net/sinat_22991367/article/details/79435705