I used pyinstaller to create a single file executable for a tkinter application. The executable file worked fine in my system, with the temporary _MExxxxx folder getting del