- 博客(8)
- 收藏
- 关注
原创 I/O operation on closed file.
with open(r'G:/1h.csv', 'w+', newline='') as c: writer_csv = csv.writer(c,dialect="excel"with open(r"G:/1h.txt", 'r', encoding='utf8')as f: print(f.readlines())报错:I/O operation on closed file.Va...
2020-03-08 22:40:31
21707
原创 有关下载M3U8的种种
查了很久,尝试过以下几种Batch Download+ffmpegM3U8-DownloaderM3U8批量下载器最终使用了M3U8批量下载器,因为前两个下载器都会遇到卡死的现象参考:https://www.zhihu.com/question/48914419/answer/331885550https://www.52pojie.cn/thread-785996-1-1.h...
2020-02-27 15:50:48
833
原创 注册GitHub
注册过程一直提示Unable to verify your captcha response. Please visit https://help.github.com/articles/troubleshooting-connectivity-problems/#troubleshooting-the-captcha for troubleshooting information.换了浏览器...
2020-02-20 16:34:16
757
3
原创 安装requests 和 pygal
具体步骤与安装matplotlib类似,可看前两篇文章找到目录(已设置环境变量路径)cd 转到目录下输入 pip install pygal(插件名称)
2020-02-20 15:48:27
190
原创 python安装安装matplotlib
安装python以后记得设置环境的问题:此电脑->属性->高级系统设置->高级->环境变量->用户变量->path->编辑->新建->(加入你的python安装文件下的script路径)->确定(打开的框都要点确定)->OK安装matplotlib(参考https://blog.youkuaiyun.com/qq_43738233/arti...
2020-02-20 15:42:40
582
原创 Permission denied: 'C:\\Users\\Public\\Desktop\\From py.txt'
接上一篇文章 加了r以后报错import csvfilename = ‘D:\软件安装包\python\《Python编程:从入门到实践》源代码文件\chapter_16\sitka_weather_07-2014.csv’with open(filename) as f:reader = csv.reader(f)row_reader = next(reader)# print(ro...
2020-02-19 22:42:20
3549
原创 导出文本命名报错(unicode error) 'unicodeescape' codec can't decode bytes in position 2-3
import csvfilename = ‘D:\软件安装包\python\《Python编程:从入门到实践》源代码文件\chapter_16\sitka_weather_07-2014.csv’with open(filename) as f:reader = csv.reader(f)row_reader = next(reader)# print(row_reader)a = [...
2020-02-19 22:28:13
308
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人