zoukankan      html  css  js  c++  java
  • 《Python 3标准库》

      在本书中,你会看到用来处理文本、数据类型、算法、数学计算、文件系统、网络通信、Internet、XML、Email、加密、并发性、运行时和语言服务等各个方面的实用代码和解决方案。在内容安排上,每一节都会全面介绍一个模块,并提供一些很有价值的补充资源链接,这使得本书成为一本理想的Python标准库参考手册。 
            Python的库太庞大的,确实需要一本书来梳理一下,最好是按库的功能来粗略地分类,方便我们通过目录快速查阅。而《Python3标准库》就是这样一本书。全文1000+页,活脱脱一块大砖头,沉甸甸的,估计得有两三斤重。一共19章,每一章都是按照一个主题来介绍相关的库,每一个库会分几个小节来举例说明。这些例子来源于作者的“Python Module of the Week”开源项目,地址为https://pymotw.com/3/。
            《Python3标准库》主题:
    1.文本:
       介绍了string、textwrap、re、difflib。
    2.数据结构:
      介绍了enum、collections、array、heapq、bisect、queue、struct、weakref、copy、pprint。
    3.算法:
      介绍了functools、itertools、operator、contextlib。
    4.日期和时间
      介绍了time、datetime、calendar。
    5.数学运算:
      介绍了decimal、fraction、random、math、statistics。
    6.文件系统
      介绍了os.path、pathlib、glob、fnmatch、linecache、tempfile、shutil、filecmp、mmap、codecs、io。
    7.数据持久存储与交换
      介绍了pickle、shelve、dbm、sqlite3、xml、csv。
    8.数据压缩与归档
      介绍了zlib、gzip、bz2、tarfile、zipfile。
    9.加密
      介绍了hashlib、hmac。
    10.并发编程
      介绍了subprocess、signal、threading、multiprocessing、asyncio、consurrent。
    11、12、13 网络:socket、http、email
    14.应用模块构建
      介绍了argparse、getopt、readline、getpass、cmd、shlex、configparser、logging、fileinput、atexit、sched。
    15.国际化
      介绍了gettext、locale。
    16.开发工具
      介绍了pydoc、doctest、unittest、trace、traceback、cgitb、pdb、profile、pstats、timeit、tabnanny、compileall、pyclbr、venv、ensurepip。
    17.运行时
      介绍了site、sys、os、platform、resource、gc、sysconfig。
    18.语言工具
      介绍了warnings、abc、dis、inspect。
    19.模块和包
      介绍了importlib、pkgutil、zipimport。
  • 相关阅读:
    Android仿网易client实现抽屉式拖拉菜单界面
    使用SRVCTL时报错:error while loading shared libraries
    permission denied for this window type
    pytest文档22-fixture详细介绍-作为参数传入,error和failed区别
    pytest文档22-fixture详细介绍-作为参数传入,error和failed区别
    pytest文档22-fixture详细介绍-作为参数传入,error和failed区别
    xml文件错误
    xml文件错误
    xml文件错误
    mysql replace into 的使用情况
  • 原文地址:https://www.cnblogs.com/niaocaizhou/p/12027591.html
Copyright © 2011-2022 走看看