1.
import getpass
passward=getpass.getpass("password")
2.模块导入:import model_name
3.第三方库需要手工导入
4.time模块&datetime模块
time.sleep(sec)
time.time()打印时间戳
time.ctime()返回时间戳的字符串格式
time.gmtime()
import time gmtime=time.gmtime() print(gmtime) print("%s-%s-%s" % (gmtime.tm_year,gmtime.tm_mon,gmtime.tm_mday))
5.sys模块