[python-win32] pythoncom/win32com hangs

2007-08-10 Thread Richard Bell
I've been working on a class and module to automate IE. All seemed to be working including several hundred test, so I decided to stress test by visiting a large number of pages (400 plus) for several hours to see if the code was stable in the face of repeated use. After roughly 40 minutes of oper

[python-win32] SHFileOperation doesn't work with UNICODE file paths (with non ascii characters)

2007-08-10 Thread Shailesh Kumar
Hi, Kindly have a look at following sample. I am trying to copy files from a folder to another folder using SHFileOperation. The folder name as well as file name contain characters from Hiragana script (Japanese). Neither Copy nor Move operations work. The operations work if the file path doesn't

Re: [python-win32] win32com does not recognise an Interface for events

2007-08-10 Thread Thomas Heller
Len Remmerswaal schrieb: > > import comtypes.client as cc > import comtypes.gen.S7PROSIMLib as S7PS > class testVehikel: > def __init__(self, progid, eventsClass): > self.intf = cc.CreateObject(progid) > self.rcvr = eventsClass() ## just added () to assign an obj i.o. a > cl

Re: [python-win32] win32com does not recognise an Interface for events

2007-08-10 Thread Len Remmerswaal
I now have something that actually works. See below. On 09-Aug-07 20:26, Thomas Heller wrote: So I did it slightly different: import comtypes.client as cc import comtypes.gen.S7PROSIMLib as S7PS class testVehikel: def __init__(self, progid, eventsClass): self.intf = cc.Cre

Re: [python-win32] Having multiple versions of PythonWin installed concurrently

2007-08-10 Thread Michel Claveau
Hi! > Niki: > i have 2.3, 2.4 and 2.5 installed with pywin32 But Python COM server is registred only once way. I think that it's not possible to have Python COM server on 2.5, 2.4 & 2.3 simultaneously. Perhaps I'am wrong. In this case, witch way? @+ Michel Claveau __

Re: [python-win32] Having multiple versions of PythonWin installedconcurrently

2007-08-10 Thread Michel Claveau
Hi! I had search, in past, for have one PyWin for normal development, and one for the Python 2.3 include in OOo. But, I was not able any to carry out that... Perhaps what a guru/designer/developper would know some more? @-salutations Michel Claveau ___