Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os, sys
- path = sys.argv[1]
- for filename in os.listdir(path):
- if os.path.isfile(path+filename) and filename[0]=='.':
- os.remove(path+filename)
- print 'Removed: ', filename
Advertisement
Add Comment
Please, Sign In to add comment