python time strptime_python的time几种用法strptime、strftime、localtime、mktime
1、time.time()importtimet1=time.time()print(t1)#1594006474.10721852、获取当地时间-->结构化时间time.localtime()importtimet2=time.localtime()print(t2)#time.struct_time(tm_year=2020,tm_mon=7,tm_mday=1,tm_hour=0,tm_mi