Advertisement
rfmonk

shutil_copy.py

Jan 28th, 2014
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. from shutil import *
  2. import os
  3.  
  4. os.mkdir('example')
  5. print 'BEFORE:', os.listdir('example')
  6. copy('shutil_copy.py', 'example')
  7. print 'AFTER:', os.listdir('example')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement