how to run python file in kali linux code example Example: create python file kali linux sudo nano test.py then, paste the exploit and save it