- 博客(2)
- 收藏
- 关注
原创 IDEA导入第三方库时,报错AttributeError: module 'pip' has no attribute 'main'问题解决方法
一、错误原因:由于pip-19.0.3中没有main方法,所有在使用Alt+回车导入包时报错错误信息:AttributeError: module ‘pip’ has no attribute ‘main’二、解决办法:1.在目录:C:\Users\Administrator.IntelliJIdea2017.2\config\plugins\python\helpers 下找到:pac...
2019-03-03 00:24:38 721
原创 python 目录遍历,报存到表格中
python 目录遍历,报存到表格中代码: import os import xlwt import time def file(filePath): """ 将任意目录下及子目录的文件以及文件大小添加到excle表格中 :param filePath: :return:
2018-12-01 21:36:13 323
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人