shutil copyfile Examples build main cygwin examples Traceback most rec

1
2
3
4
5
6
7
8
shutil.copyfile( r"D:\Examples\build\main.c", "D:\cygwin\examples")
Traceback (most recent call last):
File "<pyshell#35>", line 1, in <module>
shutil.copyfile( "D:\\Examples\\build\\main.c", "D:\\cygwin\\examples")
File "C:\Python27\lib\shutil.py", line 82, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: 'D:\\cygwin\\examples'