Advertisement
rfmonk

shutil_copyfile.py

Jan 28th, 2014
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3.  
  4. from shutil import *
  5. from glob import glob
  6.  
  7. print 'BEFORE:', glob('shutil_copyfile.*')
  8. copyfile('shutil_copyfile.py', 'shutil_copyfile.py.copy')
  9. print 'AFTER:', glob('shutil_copyfile.*')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement