Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import shutil
- for root, dirs, files in os.walk(eg.globals.moviezip):
- for f in files:
- os.remove(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
- for root, dirs, files in os.walk(eg.globals.movieproc):
- for f in files:
- os.remove(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement