Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1/usr/bin/env python
- # this is from The Python
- # Standard Library by example
- # ISBN13: 9780321767349
- import os
- import tempfile
- directory_name = tempfile.mkdtemp()
- print directory_name
- # Clean up the directory
- os.removedirs(directory_name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement