Possible Duplicate:
Can a program delete its own executable
My application is compiled in Py2exe. However after execution is finished, another application will be loaded. The main executable will no longer be needed, so how can I go about having the Python application delete itself?