bigdata/chapter1/crawler/taobao/utils.py

7 lines
120 B
Python

# coding=utf-8
import time
def now_time():
return time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time()))