標準庫的使用

「` 標準庫的使用 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
相關文章
相關標籤/搜索