python 时间元组转可视化时间
>>> import time >>> time.asctime() 'Fri Jan 4 11:17:20 2019' >>> time.asctime((2018, 9, 30, 9, 44, 31, 6, 273, 0)) 'Sun Sep 30 09:44:31 2018' >>> time.asctime(time.localtime(1538271871.226226)) 'Sun Sep 30 09:44:31 2018' >>>
>>> import time >>> time.asctime() 'Fri Jan 4 11:17:20 2019' >>> time.asctime((2018, 9, 30, 9, 44, 31, 6, 273, 0)) 'Sun Sep 30 09:44:31 2018' >>> time.asctime(time.localtime(1538271871.226226)) 'Sun Sep 30 09:44:31 2018' >>>