backdoorp To compile it to a exe file you can use pyinstaller backdoor.py --onefile --noconsole #note this will create a exe file which runs in background you have to kill it to stop it if you don't have pyinstaller pip install pyinstaller