Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- from shutil import *
- from glob import glob
- with open('example.txt', 'wt') as f:
- f.write('contents')
- print 'BEFORE: ', glob('example*')
- move('example.txt', 'example.out')
- print 'AFTER : ', glob('example*')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement