1、Python时间输出,导入time模块 >>> import time >>> print(time.time()) 1595314974.7670543 >>> print(time.localtime(time.time