Skip to content

Instantly share code, notes, and snippets.

@maufirf
Created April 8, 2019 01:51
Show Gist options
  • Save maufirf/17c07a63a854ce270420fd8bd3bae1eb to your computer and use it in GitHub Desktop.
Save maufirf/17c07a63a854ce270420fd8bd3bae1eb to your computer and use it in GitHub Desktop.
A python script that deletes itself from existence when executed.
from os import remove
from sys import argv
remove(argv[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment