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模块 什么是模块: 在计算机程序的开发过程中,随着程序代码越写越多,在一个文件里代码就会越来越长,越来越不容易维护. 为了编写可维护的代 ...
随机推荐
- sed 以及 awk用法
sed 格式 sed[options] "script" FILE.... 选项: -n:静默模式,不输出模式空间内的内容:默认打印空间模式的内容 -r:扩展的正则表达式 -f 文 ...
- 关于mvn install命令执行报错问题
首先这个报错,通常要么是依赖问题,比如模块之间的依赖传递问题,通常报这种错误会在控制台提示. 或者是比如子工程分为test-entity.test-dao.test-service.test-web三 ...
- 965. Univalued Binary Tree
题目来源: https://leetcode.com/problems/univalued-binary-tree/submissions/ 自我感觉难度/真实难度: 题意: 分析: 自己的代码: c ...
- Kafka设计解析(六)Kafka高性能架构之道
转载自 技术世界,原文链接 Kafka设计解析(六)- Kafka高性能架构之道 本文从宏观架构层面和微观实现层面分析了Kafka如何实现高性能.包含Kafka如何利用Partition实现并行处理和 ...
- HDU2544(dijkstra_邻接矩阵最水的题没有之一)
https://cn.vjudge.net/problem/HDU-2544 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt.但是每当我们的工作人员把上百件的衣服从商店运回到赛场 ...
- 第8章 自己写库-构建库函数雏形—零死角玩转STM32-F429系列
第8章 自己写库—构建库函数雏形 全套200集视频教程和1000页PDF教程请到秉火论坛下载:www.firebbs.cn 野火视频教程优酷观看网址:http://i.youku.com/fi ...
- 笔记:iOS随机数与随机数据集
//0 到 N - 1 之间的随机整数 NSUInteger r = arc4random_uniform(N); //1 到 N 之间的随机整数 NSUInteger r = arc4random_ ...
- JS实现图片的淡入和淡出的两种方法,如有不足,还请前辈多多指导^-^~
今天下午练习了下这个图片的淡入淡出小demo,如有不足,还请前辈多多指导^-^~ 总结如下: 第一种方法: 个人觉得第一种方法比较好,同时兼容IE8以下浏览器,但是如下代码中,不知可不可以将timer ...
- #leetcode刷题之路40-组合总和 II
给定一个数组 candidates 和一个目标数 target ,找出 candidates 中所有可以使数字和为 target 的组合.candidates 中的每个数字在每个组合中只能使用一次.说 ...
- devise的使用
~ 在gemfile中加入 gem 'devise' ~ 终端输入 $ bundle install $ rails generate devise:install ~ 确保登录之后能正常跳转 在co ...