Re: [python-win32] Compiling pywin32 with PyOxidizer

2021-02-02 Thread Mark Hammond
On 2/02/2021 11:54 pm, Will Deem wrote: Good morning Pywin32 mailing list, I appear to be running into an issue compiling my program using pyoxidizer with pywin32. It appears there is some reliance on the __file__ attribute, which is breaking as pyoxidizer is loading the modules into memory

[python-win32] Compiling pywin32 with PyOxidizer

2021-02-02 Thread Will Deem
Good morning Pywin32 mailing list, I appear to be running into an issue compiling my program using pyoxidizer with pywin32. It appears there is some reliance on the __file__ attribute, which is breaking as pyoxidizer is loading the modules into memory and there is no __file__ attribute. Has

Re: [python-win32] Error: VARIANT Type is unknown

2021-02-02 Thread Olle Pontén
Yes I did. It produced the variant type unknown error as described in the first post. import win32api import win32com.server.util from win32com import client as w32Client win32Client = win32com.client.gencache.EnsureDispatch("{69072C2D-6ED1-4051-BF8D-70286A303CDD}") s = "AL" r = "On"