04 2017 档案

摘要:1 #coding=utf-8 2 import os 3 import time 4 while 1: 5 os.system('ls') 6 oldfilename=raw_input("input file's name which you want backup:") 7 if os.path.exists(oldfilename): 8 ... 阅读全文
posted @ 2017-04-10 22:14 puer633 阅读(100) 评论(0) 推荐(0) 编辑
摘要:1 #coding=utf-8 2 import MySQLdb 3 import getpass 4 import time 5 import re 6 7 8 9 10 def db_insert(a,b,c=0):#新建用户 11 cur.execute(sqli,(a,b,c)) 12 conn.commit() 13 ... 阅读全文
posted @ 2017-04-10 21:25 puer633 阅读(178) 评论(0) 推荐(0) 编辑