01 2021 档案

python文件操作
摘要:批量给文件改后缀名 爬取的文件全部后缀为xlsx,结果有的文件打不开,原因是这些文件是xls格式,因此将xlsx统一改为xls import os root = r'D:\bondtest' with os.scandir(r'D:\bondtest') as files: for file in 阅读全文

posted @ 2021-01-13 09:31 trp 阅读(96) 评论(0) 推荐(0)

pandas处理excel
摘要:一、excel数据的读取与保存 读取 简单文件 import pandas as pd #pandas是数据处理模块,import是导入,as pd是命名别名 amazon_data = pd.read_excel(r'D:\data\python\amazon-fine-foods\amazon_ 阅读全文

posted @ 2021-01-13 09:29 trp 阅读(356) 评论(0) 推荐(0)

Flask资源
摘要:网站: http://helloflask.com/ 李辉个人网站 https://gallery.pyecharts.org/ pyecharts示例 https://www.kesci.com/mw/project/5eb7958f366f4d002d783d4a pyecharts教程 书籍: 阅读全文

posted @ 2021-01-13 09:25 trp 阅读(97) 评论(0) 推荐(0)

ImportError: DLL load failed while importing _ssl: 找不到指定的模块。 Failed
摘要:原因分析 Anaconda 路径 C:\Users\username\Anaconda3\Library\bin 没有添加到 Windows 系统环境变量中 解决方法 在 Windows 环境变量中添加如下三项: C:\Users\username\Anaconda3 C:\Users\userna 阅读全文

posted @ 2021-01-11 08:38 trp 阅读(9877) 评论(0) 推荐(2)

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
摘要:错误信息: C:\Users\taorp>pip install pipenvWARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not availab 阅读全文

posted @ 2021-01-11 08:29 trp 阅读(5452) 评论(0) 推荐(0)

导航