how to copy and move file with its attribute?

Peter Otten __peter__ at web.de
Mon Jul 19 07:17:40 EDT 2010


oyster wrote:

> I mean writeonly, hidden, system and so on attributes
> 
> I use windows, but if possible, is there any method to do so in a
> crossplatfrom way?

I can't check, but shutil.copy2() may do what you want.

Peter




More information about the Python-list mailing list