摘要:
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... 阅读全文
摘要:
# -*- 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... 阅读全文