[python-win32] Translating vbs GetObject("LDAP://...") to Pyt hon?
R. Alan Monroe
amonroe at columbus.rr.com
Tue Nov 9 16:29:34 CET 2004
>> import win32com.client
>> obj = win32com.client.GetObject
>> ("LDAP://CN=goldent,CN=Users,DC=gb,DC=vo,DC=local")
>> print obj.Get ("description")
Having gotten the object "obj" in this manner, how do I work backwards
to find out its {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} code and/or
Something.Something class name, and list its properties?
I'm guessing I need to run makepy or somesuch, but it's not clear to
me which thing to pick from makepy's list of classes in this instance,
because it's not an immediately obvious one like, say, Microsoft
Excel. I don't see any in the list starting with "LDAP" or "Microsoft
LDAP".
Alan
More information about the Python-win32
mailing list