python
文章平均质量分 56
weixin_42286333
这个作者很懒,什么都没留下…
展开
-
python创建和保存中文文件名要注意编码问题
IOError: [Errno 22] invalid mode 'wb' or filename和中文名乱码windows读写中文文件的三个问题1: SyntaxError: Non-ASCII character2 :[Errno 22] invalid mode3: 中文乱码windows读写中文文件的三个问题1: SyntaxError: Non-ASCII character2 :[Errno 22] invalid mode3: 中文乱码本文使用python2.7最近写了个爬虫发现保原创 2021-09-10 01:11:23 · 2051 阅读 · 0 评论 -
pyinstaller打包报错:expected str, bytes or os.PathLike object, not NoneType
修复pyinstaller打包报错环境:win10,PyCharm 2019.1.1 x64 ,phthon3.7,pyinstaller3.4想使用pyinstaller打包发布成exe,报错TypeError: expected str, bytes or os.PathLike object, not NoneType解决方法是找到项目根目录下\venv\Lib\site-packa...原创 2019-04-25 15:02:19 · 4427 阅读 · 2 评论