摘要: ipython为什么这么多人用? 很大的原因在于它有以下几大特性: 1. 相较于python解释器来说,它能通过 tab键来代码补全 2.也有可以在浏览器上直接跑脚本的,基于网页动态交互的 notebook 3.还有强大的内省(Introspection)功能: 可以在对象后加“?”,就可以看到所有 阅读全文
posted @ 2017-06-17 17:41 leemiracle 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 23.1. cmd — Support for line-oriented command interpreters 23.2. shlex — Simple lexical analysis 阅读全文
posted @ 2016-05-16 17:33 leemiracle 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 22.1. gettext — Multilingual internationalization services 22.2. locale — Internationalization services 阅读全文
posted @ 2016-05-16 17:31 leemiracle 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 21.1. audioop — Manipulate raw audio data 21.2. imageop — Manipulate raw image data 21.3. aifc — Read and write AIFF and AIFC files 21.4. sunau — Read 阅读全文
posted @ 2016-05-16 17:30 leemiracle 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 20.1. webbrowser — Convenient Web-browser controller 20.2. cgi — Common Gateway Interface support 20.3. cgitb — Traceback manager for CGI scripts 20.4 阅读全文
posted @ 2016-05-16 17:27 leemiracle 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 19.1. HTMLParser — Simple HTML and XHTML parser 19.2. sgmllib — Simple SGML parser 19.3. htmllib — A parser for HTML documents 19.4. htmlentitydefs — 阅读全文
posted @ 2016-05-16 17:21 leemiracle 阅读(214) 评论(0) 推荐(0) 编辑
摘要: email json mailcap mailbox mhlib mimetools mimetypes MimeWriter mimify multifile rfc822 base64 binhex binascii quopri uu 阅读全文
posted @ 2016-05-16 17:17 leemiracle 阅读(227) 评论(0) 推荐(0) 编辑
摘要: subprocess:子进程管理 socket:网络接口 ssl:socket对象的tls/ssl 封装 signal:为异步事件设置handlers popen2子进程和可访问的I/O流 asyncore:异步socket的handler asynchat:异步socket的command/res 阅读全文
posted @ 2016-05-16 17:10 leemiracle 阅读(150) 评论(0) 推荐(0) 编辑
摘要: select :等待I/O实现 threading:高层次的线程接口 thread:多线程调度 dummy_threading:提供threading模块的副本接口 dummy——thread:提供thread模块的副本接口 mutiprocessing:在全局调度锁下使用子进程 mmap:内存-映 阅读全文
posted @ 2016-05-16 16:57 leemiracle 阅读(99) 评论(0) 推荐(0) 编辑
摘要: os:微型计算机操作系统接口 io:流的核心工具 time:时间的获得和转换 argparse:解析命令行的选项、参数和子命令 optparse:解析命令行的选项 getopt:解析C风格的命令行选项 logging日志 logging.config logging.handlers getpass 阅读全文
posted @ 2016-05-16 16:24 leemiracle 阅读(128) 评论(0) 推荐(0) 编辑