Advertisement
here2share

# remove_folder.py

May 9th, 2015
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. # remove_folder.py
  2.  
  3. import os
  4. new_folder = u"/Users/yourusername/Desktop/test"
  5. os.mkdir(new_folder)
  6. os.remove(path)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement