python读出当前时间精度到秒的代码 导入time这个包就可以通过它获取是时间#-*-coding:UTF-8-*-importtimeprint(time.time())#输出:1562304217. 精度到秒