On Sat, 25 Aug 2007 02:57:24 -0700, mosscliffe wrote:

> I have 4 text files each approx 50mb.
> 
> I need to join these into one large text file.
> 
> I only need to do this very occasionally, as the problem has occurred
> because of upload limitations.
> 
> Bearing in mind filesize and memory useage, would I be better reading
> every line in every file and writing each line to the output file or
> is there someway I could execute some shell command.

There are some copy functions that work with file like objects in the
`shutil` module.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to