摘要: 1 #获取某个文件夹下的所有代码总行数 2 import os 3 def GetAllPath(dirname): 4 result = [] 5 for maindir, subdir, file_name_list in os.walk(dirname): 6 for filename in 阅读全文
posted @ 2020-08-27 16:50 MarioLz 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 1 import base64 2 3 def base64_decode(s): 4 num=len(s)%4 5 if num==0: 6 s=base64.urlsafe_b64decode(s) 7 else: 8 s=s+'='*(4-num) 9 s=base64.urlsafe_b64 阅读全文
posted @ 2020-08-27 16:47 MarioLz 阅读(681) 评论(0) 推荐(0) 编辑