Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a python file delete itself

from os import remove
from sys import argv

remove(argv[0])
 
PREVIOUS NEXT
Tagged: #python #file #delete
ADD COMMENT
Topic
Name
4+3 =