摘要:
import timelocaltime=time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(time.time()))print localtime#结果是2015-10-13 15:59:13#将日期转化成时间戳:int_localtime=int... 阅读全文
posted @ 2015-10-13 16:00
佟多多
阅读(883)
评论(0)
推荐(0)
摘要:
---恢复内容开始---1(1)首先在你的.py文件上加上一行代码注释:#!/usr/local/bin/python2.7(2)终端下执行: crontab -e 进入后,输入i 进入可编辑字段,写入 :*/30 * * * * python /Users/tongmeina/Pycharm... 阅读全文
posted @ 2015-10-13 15:51
佟多多
阅读(9410)
评论(0)
推荐(0)
浙公网安备 33010602011771号