fabio.marcone at duet.it
Fri Jun 3 12:17:15 CEST 2005
Thanks very much!
Where I can find other docs about LDIFWriter (and ldif parser)?
Alle 11:36, venerdì 03 giugno 2005, Michael Ströder ha scritto:
> Fabio Marcone wrote:
> > I need to backup an ldap directory from python. I try to follow example
> > in docs about LDIFWriter but I have this problem: I want to have the ldif
> > output in a file, not in standard output, and so: how can I do? what
> > paramenter I have to pass to LDIFWriter in place of sys.stdout ?
> Simply pass a file object as argument:
> f = open('/tmp/dirbackup.ldif','wb')
> Ciao, Michael.
More information about the python-ldap