From: Jean J. <je...@up...> - 2003-10-14 14:51:59
|
> If I start python2.2 while I am a user (gabby) in the > /home/gabby/python-ldap-2.0.0pre14 directory, everything works fine. If you do that, you import the ldap *class*. > If I am in any other directory and start python2.2, If you do that, you import the ldap *module*. In order to import the class, you need to do: `from ldap import ldap`. -- Jean Jordaan http://www.upfrontsystems.co.za |