
python
文章平均质量分 81
404-error
这个作者很懒,什么都没留下…
展开
-
解决Pyinstaller打包matplotlib.backends.backend_tkagg和tkinter问题
解决Pyinstaller打包matplotlib.backends.backend_tkagg和tkinter问题先上解决原文连接解决matplotlib.backends.backend_tkagg解决tkinterOver~先上解决原文连接windows下tkinter安装——解决matplotlib使用时No Module Named _tkinter解决matplotlib.backends.backend_tkagg问题长这样:ModuleNotFoundError: No modul原创 2020-12-02 00:08:27 · 4902 阅读 · 1 评论 -
Python压缩zip文件
Python压缩zip文件自己找了下网上的各种教程,分两种一条简单的语句,直接压缩,最后生成的压缩包里边包含了压缩文件所在的各级文件夹切换工作目录,虽然压缩包中只有文件,没有文件的所在的各级文件夹,但感觉不太合适然后我去看了下官方文档zipfile官方文档,官方文档的说明如下:ZipFile.write(filename, arcname=None, compress_type=None)Write the file named filename to the archive, giving原创 2020-08-31 21:18:51 · 556 阅读 · 0 评论