标准库的使用

“` 标准库的使用 1.不需要程序员去import—–直接使用的变量和函数—–print/open/len 2.import time print(time.strftime(“%Y_%m_%d %h:%m:%s”)) 3.标准库 1.内置类型:内置函数——直接使用—不需要import 2.内置模块:内置模块–要使用import import sys 3.print(sys.path) #查看im
相关文章
相关标签/搜索