摘要: import fnmatch, os import re yy = input('') def edd(user_name): def allFiles(root, patterns = '*', single_level = False, yield_folders = False): patterns = patterns.split(';') fo... 阅读全文
posted @ 2016-12-25 20:36 200ML 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 打印当前目录所有文件名 import fnmatch, os def allFiles(root, patterns = '*', single_level = False, yield_folders = False): patterns = patterns.split(';') for path, subdirs, files in os.walk(root): ... 阅读全文
posted @ 2016-12-25 19:30 200ML 阅读(2674) 评论(0) 推荐(0) 编辑
摘要: import sys import time # val = sys.stdin.readline()[:-1] # print(val)] # print('1') # time.sleep(1) # print('2') n = '·' for i in range(26): n += '·' sys.stdout.write('\r') sys.stdout.wri... 阅读全文
posted @ 2016-12-25 11:33 200ML 阅读(129) 评论(0) 推荐(0) 编辑