[python-win32] Translating vbs GetObject("LDAP://...") to Pyt hon?

R. Alan Monroe amonroe at columbus.rr.com
Mon Nov 8 16:27:22 CET 2004


> import win32com.client
> obj = win32com.client.GetObject
> ("LDAP://CN=goldent,CN=Users,DC=gb,DC=vo,DC=local")
> print obj.Get ("description")

That worked. If it's so bloody simple, why do all the web sites have
the (pretty useless) version I tried at first... grrrr.

Anyway, you rock.

Alan



More information about the Python-win32 mailing list