Re: [python-win32] Strange issues when using pywin32 to develop solidworks

2020-10-06 Thread Tim Roberts
On Oct 5, 2020, at 5:45 PM, nicolas jacky wrote: > > I test below code snippets in vscode with enviroment of python 3.8, pywin32 > build 228, solidworks 2017 API sets and created .py files by makepy, I get > some strange errors. > first snippet > > # -*- coding: utf-8 -*- > from win32com.clien

[python-win32] Strange issues when using pywin32 to develop solidworks

2020-10-05 Thread nicolas jacky
I test below code snippets in vscode with enviroment of python 3.8, pywin32 build 228, solidworks 2017 API sets and created .py files by makepy, I get some strange errors. first snippet # -*- coding: utf-8 -*- from win32com.client import * from pythoncom import * swx = Dispatch("SldWorks.Applica