摘要:
cursor.execute("insert into users set email=%s,pwd=%s,nicheng=%s,createtime=%s",(email,pwd,nicheng,time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(time.time())))) python中时间日期格式化符号: %y 两位数的年份表示(00-9... 阅读全文
posted @ 2017-11-06 21:04
时间影像
阅读(861)
评论(0)
推荐(0)
摘要:
# -*- coding: utf-8 -*- import _thread from time import sleep, ctime def fun1(): sleep(2) print('aaaaaaaaaa') def fun2(): sleep(1) print('bbbbbbbbb') def main(): _thread.star... 阅读全文
posted @ 2017-11-06 21:03
时间影像
阅读(84)
评论(0)
推荐(0)

浙公网安备 33010602011771号