No subject

karlos barlos karlosbarlos at yahoo.com
Sat Apr 18 12:56:58 EDT 2009


i have the following code :

   elif choice == "3":
        print "all users list :"
        print"\n"
        import active_directory
        for user in active_directory.search ("objectCategory='Person'", "objectClass='User'"):
         print user
        
i want to write  the output of the code (

LDAP://CN=bessy,OU=sales,DC=shay,DC=com
LDAP://CN=ron,OU=legal,DC=shay,DC=com

to a text \  csv file ... 

can any one help ??


     








      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090418/8073fa62/attachment.html>


More information about the Python-list mailing list