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模块 什么是模块: 在计算机程序的开发过程中,随着程序代码越写越多,在一个文件里代码就会越来越长,越来越不容易维护. 为了编写可维护的代 ...
随机推荐
- 【转】Python数据处理(四舍五入、除法部分)
转自:https://www.cnblogs.com/junyiningyuan/p/5338378.html 关于除法 传统除法 对两个整数进行除的运算,同时结果会舍去小数部分,返回一个整数.但如果 ...
- VC++中关于控件重绘函数/消息 OnPaint,OnDraw,OnDrawItem,DrawItem的区别
而OnPaint()是CWnd的类成员,同时负责响应WM_PAINT消息. OnDraw()是CVIEW的成员函数,并且没有响应消息的功能.这就是为什么你用VC成的程序代码时,在视图类只有OnDraw ...
- 构建 CDN 分发网络架构
cdn基本架构: CDN的基本目的:1.通过本地缓存实现网站的访问速度的提升 CDN的关键点:CNAME在域名解析:split智能分发,引流到最近缓存节点
- 典型CAN通讯电路(带隔离)
典型CAN通讯电路(带隔离) CAN是控制器局域网络(Controller Area Network, CAN)的简称,是由德国BOSCH公司开发的,并最终成为国际标准(ISO 11898),是国际上 ...
- C++ - 模板(template)中typename的使用方法
声明template参数时, 前缀关键字class和typename可以互换; 使用关键字typename标识嵌套从属类型名称, 但不需在基类列表和成员初始化列表内使用. 从属名称(dependent ...
- 转载:【架构师之路】依赖注入原理---IoC框架
原文地址:http://www.cnblogs.com/jhli/p/6019895.html 1 IoC理论的背景 我们都知道,在采用面向对象方法设计的软件系统中,它的底层实现都是由N个对象 ...
- Xcode下载模拟器太慢?
在Xcode里下载模拟器,速度实在是太慢了.点击下载,卡住十几分钟才开始下载,并且龟速进行. 解决方案:获取模拟器下载地址,自己选择下载器进行下载. 找到下载链接 打开 Console.app(苹果电 ...
- C++学习第一天(helloword)
C++编译过程 #include <iostream> //iostream 提供了一个叫命名空间的东西,标准的命名空间是std 包含了有关输入输出语句的函数 // input&^ ...
- webSocket入门
原理:Pub-Sub(发布和订阅) 它适用于发送者将数据(发布者)发送给抽象数量的收件人(订阅者),而无需指定他们是谁. 1.是 HTML5 开始提供的一种在单个 TCP 连接上进行全双工通讯的协议 ...
- ruby puts, print, p方法比较
1.puts([obj[, obj2[, ....]]] ) 依次将obj和换行符输出到$>.若没有参数的话则只会输出换行符. 若参数是数组,则依次输出数组元素和换行符.若将既非数组又非字符串的 ...