[Tutor] many appologies

Dwain Hargrave dwainh@corp.earthlink.net
Wed, 25 Oct 2000 11:58:03 -0500


Sorry, I didn't dig deeper into the documentation before spamming the
question.  I found this...

4.46. How do I copy a file?

Most of the time this will do:

   infile = open("file.in", "rb")
   outfile = open("file.out", "wb")
   outfile.write(infile.read())

However for huge files you may want to do the reads/writes in pieces (or
you may have to), and if you dig deeper you may find other
technical problems.

Again... sorry.  :)

--
Dwain Hargrave
Unix Systems Administrator
Earthlink Inc.