File processing

Peter Hansen peter at engcorp.com
Mon Feb 17 11:54:56 EST 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...

-Peter




More information about the Python-list mailing list