[Tutor] Efficient way to join files
Bob Gailer
bgailer at alum.rpi.edu
Wed Oct 1 11:46:50 EDT 2003
At 07:39 PM 9/30/2003, Héctor Villafuerte D. wrote:
>Hi all,
>I need to join multiple files.
>Is there a more efficient way to do it than using
>fileinput.input(file) and looping through those files?
>Thanks in advance,
On Windows? os.popen("copy sourcefile1 + sourcefile2 + ...
destinationfile").read()
Bob Gailer
bgailer at alum.rpi.edu
303 442 2625
-------------- next part --------------
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003
More information about the Tutor
mailing list