摘要: #!/usr/bin/python3 # -*- coding: UTF-8 -*- import os import sys def parse_file(path): fd = open(path) #with open(path) as fd: i = 0 spaces = 0 tabs = 阅读全文
posted @ 2020-03-12 13:24 soberkkk 阅读(112) 评论(0) 推荐(0)
摘要: #!/usr/bin/python3 # -*- coding: UTF-8 -*- import sys if len(sys.argv)<3: print("wrong parameter") print("./copyfile.py file1 file2") sys.exit(1) f1 = 阅读全文
posted @ 2020-03-12 11:10 soberkkk 阅读(160) 评论(0) 推荐(0)