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模块 什么是模块: 在计算机程序的开发过程中,随着程序代码越写越多,在一个文件里代码就会越来越长,越来越不容易维护. 为了编写可维护的代 ...
随机推荐
- docker Dockerfile 创建镜像
Docker 组件 1. docker client : docker的客户端 2. docker server : docker daemon的主要组成部分,接受用户通过docker client发 ...
- c++版 nms
目前这个代码运行会报一些错误,还要再修改修改才行 #include<iostream> #include<vector> #include<algorithm> # ...
- bootstrap组件-导出数据
一.需求:在我们日常工作的时候,对数据的导出有需求.比如导出JSON.XML.SQL等形式.方便我们日常使用. 二.组件:我们可以使用bootstrap的扩展插件Table Export来实现我们的需 ...
- java课设数据库打包报错
最近在交java课设时把东西打包给老师遇到许多奇葩问题, 首先是数据库复制时提示: 这是数据库与SQL server服务没有分离(我用的是SQLserver暂时,对于其他的,我以后会继续尝试)可以进行 ...
- WebGl 多缓冲区传递颜色和坐标(矩形)
效果: 代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="U ...
- 小米路由器设置端口转发远程登录WEB管理页及安装MT工具箱
1. 将小米路由器ROM升级到开发版 这一点是必须的,如果是稳定版是不行的 2. 获取高级管理权限 再次确认当前使用的是开发版ROM 到这个网址http://d.miwifi.com/rom/ssh ...
- SEO优化上首页之搜索引擎用户需求理解
经过前面<搜索引擎原理SEO优化上首页之网络蜘蛛Spider>和<搜索引擎原理SEO优化上首页之内容处理与创建索引>介绍,搜索引擎已经完成页面抓取和分析,并把原始页面.索引等信 ...
- Scala中的类学习
Scala中的类学习 从java了解类的情况下,了解Scala的类并不难.Scala类中的字段自动带getter和setter方法,用@BeanProperty注解生成javaBean对象的getXX ...
- mssqlserver分区表的左值与右值
参考官方文档: https://docs.microsoft.com/zh-cn/sql/t-sql/statements/create-partition-function-transact-sql ...
- Kubernetes学习之路(十二)之Pod控制器--ReplicaSet、Deployment
一.Pod控制器及其功用 Pod控制器是用于实现管理pod的中间层,确保pod资源符合预期的状态,pod的资源出现故障时,会尝试 进行重启,当根据重启策略无效,则会重新新建pod的资源. pod控制器 ...