Best way to copy files without Read-Only option

Rainer Deyke root at rainerdeyke.com
Thu Aug 31 13:06:23 EDT 2000


"Olav Benum" <Olav.Benum at bigfoot.com> wrote in message
news:39AE7EAE.51E3E692 at yahoo.com...
> However, I have the problem that when the source is "Read-only" the new
> file
> is also read-only, creating problems later.

Open source file and destination file.  Read from source file; write to
destination file.  When all data has been copied, close both files.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list