File processing

Peter Hansen peter at
Mon Feb 17 17:54:56 CET 2003

fishers wrote:
> Can Python be used to do 'high-level' file processing. for example,
> appending one file to another? And if so, how?

Yes, it can manipulate the files directly, using open() with read and
write/append modes, or it could execute shell utilities via os.system.

It does not support a simple "append these two files" command, so far
as I know.  No need for one, either...


More information about the Python-list mailing list