Quote:
Originally Posted by kovidgoyal
The simplest way to do that is to simply have the comtypes package stored in its own zip file inside the plugin zipfile. Then extract that zipfile into a temporary file somewhere and do
sys.path.append('path/to/extracted/zip/file')
now you should be able to import and use comtypes.
|
Are you saying that if this is done then simple import statements such as
Code:
import comtypes
import comtypes.client
will no longer fail?
Does that leave crud in the user's main Windows environment variable PATH? That would be a bit intrusive, wouldn't it?