摘要:
标准库和第三方库第一手资料: 在线: 官方文档(https://docs.python.org/) 离线:交互式解释器(dir()、help()函数),IPython(tab键提示、?、??) 一、 日期和时间(https://docs.python.org/3/library/datetime.h 阅读全文
摘要:
一、 模块 使用内置函数vars()可以查看当前环境下有哪些对象(变量、函数、类) from 模块 import *: 不会导入以下划线开头的对象 只会导入__all__中定义了的对象(__all__中的每个元素需要是str类型) from pprint import PrettyPrinter p 阅读全文