McMillan's Installer problem with win32com
ryzam at my-deja.com
ryzam at my-deja.com
Tue Aug 1 06:12:18 EDT 2000
Hi,
I'm getting trouble to compile with McMillan's Installer on wxPython
GUI application that import win32com module.
No error when running in interpreter mode like python mycoding.py.
This is an example in my coding that using win32com module
class ComInternetExplorer:
'''An interfce to Microsoft Internet Explorer using COM.
The MSIE objects can be used directly, this class just wraps some of
the
behaviors for convenience.
jjk 09/02/99'''
def __init__(self, visible=1, timeout=200, waitInterval=1):
'''Initialize the receiver: opens an Internet Explorer application
jjk 09/02/99'''
self.ie = win32com.client.Dispatch("InternetExplorer.Application")
self.ie.Visible = visible
#self.ie.StatusBar=0
#self.ie.Width=400
#self.ie.Height=400
#self.ie.ToolBar=0
self.timeout = timeout # seconds before waitWhileBusy() times out
self.waitInterval = waitInterval # interval (seconds) between busy
tests
bla bla.....continue coding here....
I get the following error when i run python Standalone.py:
Traceback (innermost last):
File "Builder.py", line 502, in ?
main(opts,args)
File "Builder.py", line 484, in main
target.build()
File "Builder.py", line 87, in build
self.assemble()
File "Builder.py", line 234, in assemble
shutil.copy2(path,self.name)
File "C:\Program Files\Python\Lib\shutil.py",
copyfile(src,dst)
File "C:\Program Files\Python\Lib\shutil.py",
fsrc=open(src,'rb')
IOError:[Errno 2] No such file or
directory: 'c:\\windows\\system\\pywintypes.dll'
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list