[Tutor] File copying - best way?
Sat, 04 Aug 2001 21:23:23 -0400
On Sat, Aug 04, 2001 at 09:22:05PM -0400, email@example.com wrote:
> os.popen("cp /path1/newfile /path2/oldfile")
> Which, if either, is the "preferred" method of copying a file? The second
> will raise an IOError if it fails. I have no clue how to test the first.
> Are there other and/or better methods of copying a file?
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: http://silmarill.org/cymbaline