摘要: 1 #Filename:backup_ver1.py 2 3 import os 4 import time 5 6 #1.The files and directories to be backed up are specified in a list 7 source = [r'D:\PythonSrc',r'D:\PythonSrc2'] 8 9 #2.The backup must be stored in a main backup directory10 target_dir = r"D:\\PythonBak\\"11 12 # 阅读全文
posted @ 2012-11-03 11:37 ZH奶酪 阅读(2014) 评论(0) 推荐(0) 编辑
摘要: 简明python教程网址:http://sebug.net/paper/python 1 help(sys) 2 help(int) 3 help(list) 4 help(dict) 5 help(str) 6 help(file) 7 sys模块 8 print sys.__doc__ 9 he... 阅读全文
posted @ 2012-11-03 10:43 ZH奶酪 阅读(3288) 评论(0) 推荐(0) 编辑