C
ccahoon
Traceback (most recent call last):
File "windowedfax.py", line 223, in OnClick
self.iexplore = DispatchWithEvents("InternetExplorer.Application",
eventHandling)
File "C:\Python24\Lib\site-packages\win32com\client\__init__.py",
line 268, in DispatchWithEvents
user_event_class.__init__(instance)
File "windowedfax.py", line 178, in __init__
this.iexploreInstance = self
NameError: global name 'this' is not defined
Output completed (18 sec consumed) - Normal Termination
I am running Python 2.4 with the most recent 2.4 win32all package
installed. This is straight from the installer. I did a clean
installation of everything.
This was working before I tried an ActivePython distribution. It
stopped working because ActivePython did not seem to support my SSL
usage in urllib, so I returned to a stock python distribution.
The line where I call DispatchWithEvents is like this:
iexplore = DispatchWithEvents("InternetExplorer.Application",
eventHandling)
where eventHandling is a functioning class to that purpose.
Thanks for any help, in advance.
File "windowedfax.py", line 223, in OnClick
self.iexplore = DispatchWithEvents("InternetExplorer.Application",
eventHandling)
File "C:\Python24\Lib\site-packages\win32com\client\__init__.py",
line 268, in DispatchWithEvents
user_event_class.__init__(instance)
File "windowedfax.py", line 178, in __init__
this.iexploreInstance = self
NameError: global name 'this' is not defined
Output completed (18 sec consumed) - Normal Termination
I am running Python 2.4 with the most recent 2.4 win32all package
installed. This is straight from the installer. I did a clean
installation of everything.
This was working before I tried an ActivePython distribution. It
stopped working because ActivePython did not seem to support my SSL
usage in urllib, so I returned to a stock python distribution.
The line where I call DispatchWithEvents is like this:
iexplore = DispatchWithEvents("InternetExplorer.Application",
eventHandling)
where eventHandling is a functioning class to that purpose.
Thanks for any help, in advance.