python time
import time
strTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
log(logpath, "============"+strTime+"============")
timeStr = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime())
import time
strTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
log(logpath, "============"+strTime+"============")
timeStr = time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime())