Skip to content

Instantly share code, notes, and snippets.

@vrunoa
Created November 24, 2015 00:27
Show Gist options
  • Save vrunoa/f89e8b1878433cea0746 to your computer and use it in GitHub Desktop.
Save vrunoa/f89e8b1878433cea0746 to your computer and use it in GitHub Desktop.
Unlink in python
@vrunoa
Copy link
Author

vrunoa commented Nov 24, 2015

try

import os
__file__ = os.getcwd()
PATH = lambda p: os.path.abspath(os.path.join(__file__, p))
os.unlink(PATH('android-sdk-linux'))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment