self-confidence,the source of all the power

导航

python time

time module的几种用法(草稿)

>>> timePrefix = time.strftime('%Y_%m_%d_%H_%M%S')
>>> timePrefix
'2012_12_26_21_2250'

posted on 2012-12-26 21:26  漩涡鸣人  阅读(265)  评论(0编辑  收藏  举报