[python-win32] problem creating a simple COM server

Michel Claveau mc at mclaveau.com
Wed Nov 14 07:32:30 CET 2007


Hi!

With this Python's script :
    import win32com.client
    pyRegex = win32com.client.Dispatch('PythonModule.re')
    r1 = pyRegex.pyfindall("\\d", "a1b2c3")
    print r1
    r2 = pyRegex.pysplit("\\d", "a1b2c3")
    print r2

Your code run OK. Therefore the problem is on your VBA side.
And, sorry, I can't try that. But, are you sure than the (VBA-host) 
application can support Unicode return by your Python-COM-server?

@+

Michel Claveau




More information about the python-win32 mailing list