"Cloning" file attributes and permissions

Paulo da Silva psdasilvaX at esotericaX.ptX
Thu Apr 12 23:24:22 EDT 2007


attn.steven.kuo at gmail.com escreveu:
> On Apr 12, 5:19 pm, attn.steven.... at gmail.com wrote:
>> On Apr 12, 4:09 pm, Paulo da Silva <psdasil... at esotericaX.ptX> wrote:
>>
...
> 
> After poking around a bit I also discovered the
> shutil module.  It looks like you can use
> shutil.copy2.  More Pythonic, yes?
> 


I have seen that in the index but I thought it was a different thing
because it was referenced as "high-level operations".
Anyway that helps but I still need to copy the whole file or to use stat
 and chown for the user/group ids.




More information about the Python-list mailing list