permission denied in shutil.copyfile

Ahmed, Shakir shahmed at sfwmd.gov
Fri Jul 13 17:10:20 CEST 2007


Is there any way to copy a file from src to dst if the dst is
exclusively open by other users.

I am using 

src  = 'c:\mydata\data\*.mdb'
dst = 'v:\data\all\*.mdb'

shutil.copyfile(src,dst)

but getting error message permission denied.

Any help is highly appreciated.

Thanks
sh



More information about the Python-list mailing list