摘要: import os """ 根据命令行输入的统计目录及文件类型进行统计目录或单个文件的代码行数 """ def count_all_file_code(count_path,file_types=[]): #判断传入文件是否为空 if len(file_types)==0: file_types=[ 阅读全文
posted @ 2019-12-31 10:24 wing-小 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 执行python.py的时候报错,Error in sitecustomize; set PYTHONVERBOSE for traceback: NameError: name 'reload' is not defined 解决方案: 将路径D:\python3\Lib\site-package 阅读全文
posted @ 2019-12-31 10:04 wing-小 阅读(2295) 评论(0) 推荐(1) 编辑