>>> import datetime
>>> 
>>> i = datetime.datetime.now()
>>> print(i.year,i.month,i.day,i.hour,i.minute,i.second)
2020 12 22 06 12 26
>>> 

 

相关文章: