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 ??
-- http://mail.python.org/mailman/listinfo/python-list