12 2019 档案
摘要:import os """ 根据命令行输入的统计目录及文件类型进行统计目录或单个文件的代码行数 """ def count_all_file_code(count_path,file_types=[]): #判断传入文件是否为空 if len(file_types)==0: file_types=[
阅读全文
摘要:执行python.py的时候报错,Error in sitecustomize; set PYTHONVERBOSE for traceback: NameError: name 'reload' is not defined 解决方案: 将路径D:\python3\Lib\site-package
阅读全文
摘要:解决方案1:在D:\python3\Lib\site-packages,新建一个sitecustomize.py文件 内容: # -*- coding: utf-8 -*- import sysimport os import cx_Oracle reload(sys) sys.setdefault
阅读全文

浙公网安备 33010602011771号