views:

68

answers:

1

I have written a Python script and compiled it into a MS Windows EXE file. I can modify the code, but how do I make it remove itself after running?

+3  A: 

I think the easiest solution is make an external .bat file that executes your exe file and deletes it when finished.

Khelben