![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
文章平均质量分 92
TLScott
这个作者很懒,什么都没留下…
展开
-
python报错in <module> tree = ET.parse(' 解决ElementTree读取解析包含中文字符的xml的问题
python报错Traceback (most recent call last):File “C:/test.py”, line 47, in tree = ET.parse(‘C:\test.xml’)File “C:\Python\Python38-32\lib\xml\etree\ElementTree.py”, line 1202, in parsetree.parse(sou...原创 2019-11-20 15:43:21 · 9398 阅读 · 4 评论 -
python用pyinstaller生成exe时报错 TypeError: an integer is required (got type bytes)
python用pyinstaller生成exe时报错:126 INFO: PyInstaller: 3.5126 INFO: Python: 3.8.0126 INFO: Platform: Windows-10-10.0.15063-SP0128 INFO: wrote C:\Bitbucket\apacsys-apacsystem\VaporRecoveryMonitor\gunrep...原创 2019-10-21 16:58:07 · 25847 阅读 · 47 评论 -
Python PyCharm报错 xlsxwriter.exceptions.FileCreateError: [Errno 22] invalid mode ('wb') or filename:
Python PyCharm报错File “C:\Python27\lib\site-packages\xlsxwriter\workbook.py”, line 313, in closeraise FileCreateError(e)xlsxwriter.exceptions.FileCreateError: [Errno 22] invalid mode (‘wb’) or filen...原创 2019-10-16 09:22:40 · 3186 阅读 · 0 评论