python常用模块目录
random hashlib os sys json __name__ shutil xlrd xlwt xlutils
核心模块: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 poplibimaplib 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
参考文献:Python模块大全 https://blog.csdn.net/sinat_22991367/article/details/79435705
python常用模块目录的更多相关文章
- Python常用模块——目录
Python常用模块学习 Python模块和包 Python常用模块time & datetime &random 模块 Python常用模块os & sys & sh ...
- Python常用模块之sys
Python常用模块之sys sys模块提供了一系列有关Python运行环境的变量和函数. 常见用法 sys.argv 可以用sys.argv获取当前正在执行的命令行参数的参数列表(list). 变量 ...
- python——常用模块
python--常用模块 1 什么是模块: 模块就是py文件 2 import time #导入时间模块 在Python中,通常有这三种方式来表示时间:时间戳.元组(struct_time).格式化的 ...
- python 常用模块之random,os,sys 模块
python 常用模块random,os,sys 模块 python全栈开发OS模块,Random模块,sys模块 OS模块 os模块是与操作系统交互的一个接口,常见的函数以及用法见一下代码: #OS ...
- python常用模块-调用系统命令模块(subprocess)
python常用模块-调用系统命令模块(subprocess) 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. subproces基本上就是为了取代os.system和os.spaw ...
- python常用模块之shutil模块
python常用模块之shutil模块 shutil模块,高级的文件.文件夹.压缩包处理模块 1.shutil.copyfile(src,des[,length]):将文件内容拷贝到另一个文件 In ...
- python 常用模块 time random os模块 sys模块 json & pickle shelve模块 xml模块 configparser hashlib subprocess logging re正则
python 常用模块 time random os模块 sys模块 json & pickle shelve模块 xml模块 configparser hashlib subprocess ...
- Python常用模块大全
Python常用模块大全 os模块: os.remove() 删除文件 os.unlink() 删除文件 os.rename() 重命名文件 os.listdir() 列出指定目录下所有文件 os.c ...
- (转)python常用模块(模块和包的解释,time模块,sys模块,random模块,os模块,json和pickle序列化模块)
阅读目录 1.1.1导入模块 1.1.2__name__ 1.1模块 什么是模块: 在计算机程序的开发过程中,随着程序代码越写越多,在一个文件里代码就会越来越长,越来越不容易维护. 为了编写可维护的代 ...
随机推荐
- django restframework 简单总结
官方文档:http://www.django-rest-framework.org/ model.py class Snippet(models.Model): created = models.Da ...
- UNIX网络编程 卷2 源代码使用
1. 下载源码,W. Richard Stevens的主页:http://www.kohala.com/start/ wget http://www.kohala.com/start/unpv22e/ ...
- 在CentOS/RHEL 6.4上安装Chromium
是的,之前Google就说了,由于CentOS/RHEL 6已经是过期的系统,所以不再会有Chrome了.虽然后来由于引起了社区的抗议,从而改口,不再提CentOS/RHEL 6是过期系统了:但是,目 ...
- Eclipse设置格式化每行字符的长度
Windows>>prefrence>>Java>>CodeStyle>>formatter>>edit>>line wrapp ...
- The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does not exist.
The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does no ...
- [笔记] FMX 移动平台 TWebBrowser 问题
FMX 移动平台下的 TWebBrowser 有一问题: 某些机子当 WebBrowser.Visible := False; 后,依然留在全屏,虽然看不见,但无法点击操作. 解决:用 WebBrow ...
- SuperObject Delphi 的 JSON 属性乱序 - 操作类改造 - 关于属性顺序的问题
Delphi 的 ISuperObject 属性顺序为随机.但是很多时候,是需要按加入顺序进行读取.我也看了网上很多人有类似需求.也有人问过原作者,作者答复为:JSON协议规定为无序.看了我真是无语. ...
- hadoop--hive数据仓库
一.hive概述 Hive是基于 Hadoop 的一个[数据仓库工具],可以将结构化的数据文件映射为一张数据库表,并提供简单的 sql 查询功能,可以将 sql 语句转换为 MapReduce 任务进 ...
- Kotlin安卓页面本地存储数据(方法和封装)
直接上代码 封装: //存储key对应的数据 fun saveData(context: Activity, key: String, info: String) { val sharedPrefer ...
- IPC学习
课下作业-IPC 要求: 研究Linux下IPC机制:原理,优缺点,每种机制至少给一个示例,提交研究博客的链接 共享内存 管道 FIFO 信号 消息队列 共享内存 共享内存可以说是最有用的进程间通信方 ...