File processing

fishers m.e.l at btclick.com
Mon Feb 17 13:00:56 EST 2003


Thanks

"Rene Pijlman" <reageer.in at de.nieuwsgroep> wrote in message
news:hn525vgv6kd8il1b902afjddggh43l3k4m at 4ax.com...
> fishers:
> >Can Python be used to do 'high-level' file processing. for example,
> >appending one file to another? And if so, how?
>
> The 'high level' functions are in the module shutil.
>
> You could use shutil.copyfileobj(), with dst opened for
> appending (see the mode parameter of file()).
>
> --
> René Pijlman
>
> Wat wil jij leren?  http://www.leren.nl






More information about the Python-list mailing list