No subject
Benjamin Kaplan
benjamin.kaplan at case.edu
Sat Apr 18 16:29:09 EDT 2009
On Sat, Apr 18, 2009 at 4:23 PM, karlos barlos <karlosbarlos at yahoo.com>wrote:
> hello to all !!
>
> given the 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
>
> ""
>
> that lists all active directory personal ...
>
> how can i pipe this into a csv file ??
>
> or a text file ?
>
> do need to first make it txt and then csv??
>
>
http://www.lmgtfy.com/?q=python+csv
Also, look at
http://www.catb.org/~esr/faqs/smart-questions.html
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090418/afe70158/attachment-0001.html>
More information about the Python-list
mailing list