Python3 time()
摘要:在《Python基础教程(第二版)》一书中,if time % 60 == 0 : print 'on the hour!'在3.3.2版本中显示错误。于是自己查了一下帮助文档,也在网上查阅了一些资料。在Python3中,获取时间代码如下:>>> import time>>> time.strfti...
阅读全文
posted @ 2014-01-23 11:02
posted @ 2014-01-23 11:02