
python
Laxxs
这个作者很懒,什么都没留下…
展开
-
求大神解决wim32com链接CAD,pywintypes.com_error: (-2147352567, '发生意外。'
用wim32com链接CAD,使用InsertBlock合并两个文件,但是出错,求解决#合并两个CAD文件def double_cad(acitve_file,x=0,y=0): """ #使用pyautocad链接cad acad = Autocad(create_if_not_exists=True) # acad.prompt() 用来在cad控制台中打印文字 acad....原创 2020-03-17 19:39:48 · 1795 阅读 · 4 评论 -
使用pyinstaller/auto-py-to-exe将py文件打包出现“Failed to execute script pyi_rth_pkgres”问题。
闲来无事,研究将py文件打包成exe;使用pyinstaller模块直接打包,或者使用auto-py-to-exe小工具。环境:win10python版本:python3.8.2我使用的是auto-py-to-exe打包,但是打包后的exe文件报错;解决方案参照github大神提供的解决方案https://github.com/pyinstaller/pyinstaller/iss...原创 2020-03-06 15:48:09 · 7307 阅读 · 4 评论