Best way to copy files without Read-Only option

Olav OlavB at yahoo.com
Tue Sep 5 09:04:30 EDT 2000


Thanks!
I should have though about that.  But still - now I can't set the dates
(I would like that the copied file has the same dates as the original).

--And also I suspect it is not really efficient.

Olav
Rainer Deyke wrote:

> "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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OlavB.vcf
Type: text/x-vcard
Size: 245 bytes
Desc: Card for Olav 
URL: <http://mail.python.org/pipermail/python-list/attachments/20000905/f142af73/attachment.vcf>


More information about the Python-list mailing list