how to copy and move file with its attribute?

Vlastimil Brom vlastimil.brom at gmail.com
Mon Jul 19 07:21:08 EDT 2010


2010/7/19 oyster <lepto.python at gmail.com>:
> 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?
>
> thanks
> --
> http://mail.python.org/mailman/listinfo/python-list
>

You may check to see several possibilities
http://timgolden.me.uk/python/win32_how_do_i/copy-a-file.html
Probably the shutil module might be appropriate for simple usecases.

hth,
  vbr



More information about the Python-list mailing list