python-reference

Contents:

  • Language Reference
  • 设计模式
  • tutorial
  • Package 打包
  • 其他有用的包 Other Useful Library
  • 其他

内置的包:

  • Library Reference 内置库参考
  • System系统服务
    • LOGGING
    • OS
    • getpass
    • time
    • argparse
    • Platform
  • pathlib

第三方包:

  • 其他第三方包
python-reference
  • System系统服务
  • 查看页面源码

System系统服务

  • LOGGING
    • example
    • Exceptions raised during logging
    • logging.Logger
      • debug(msg, stack_info, *args, **kwargs)
    • logging.handlers
      • StreamHandler
      • FileHandler
      • RotatingFileHandler
      • MemoryHandler
      • 其他
    • LogRecord
    • LogRecord属性
    • 模块级函数
      • basicConfig(**kwargs)
      • shutdown
      • warnings
    • 拓展功能
      • 根据函数自动缩进

Generic Operating System Services
https://docs.python.org/3/library/allos.html
官网

  • OS
    • 基础
    • os.path

getpass

from getpass import getpass
getpass(prompt="输入密码:")

time

argparse

这个用来解析python的命令

  1. [ ] getopt

Platform

平台相关

  • system
    最实用,返回Linux, Windows, Java, Darwin

上一页 下一页

© 版权所有 2024, Xiang Wang。

利用 Sphinx 构建,使用的 主题 由 Read the Docs 开发.