Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.6 常用的内置模块 #24

Open
ShannonChenCHN opened this issue Aug 20, 2018 · 1 comment
Open

6.6 常用的内置模块 #24

ShannonChenCHN opened this issue Aug 20, 2018 · 1 comment

Comments

@ShannonChenCHN
Copy link
Owner

ShannonChenCHN commented Aug 20, 2018

  • 文本处理
  • 二进制数据
    • struct
  • 数据类型
    • datetime
    • collections
  • 数字和数学
  • 函数式编程
    • itertools
    • functools
  • 文件和目录访问
  • 数据持久化
  • 数据解压缩
  • 文件格式
  • 密码学
    • hashlib
    • hmac
  • 操作系统
    • os
  • 并发编程
    • subprocess
  • 上下文变量
    • contextlib
  • 进程间通信和网络
  • 网络数据处理
    • base64
  • 结构化标记文本处理
    • XML
    • HTMLParser
  • 网络协议
    • urllib
  • 多媒体
  • 国际化

参考:

@ShannonChenCHN
Copy link
Owner Author

ShannonChenCHN commented Aug 20, 2018

os 模块

  • os.system(<bash 命令>) :执行 bash 命令(注:另外一个相同功能的方式是 subprocess 模块提供的 call() 函数)

参考:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant