This python script continuously opens the built in windows calculator until your computer crashes. This script can be modified to open any windows program. As if this crash file wasn’t good enough theirs only two steps including running the script.

1. Make a python script with this code

import os

while True:
    os.system('"C:\Windows\System32\calc.exe"')

After you have typed out or copied this script you can save the script as anything you want. In my example i have called it “Calculator Open” and saved it in my documents folder. To make the script open another program change the fourth line to the following below. Then change where it says “program path” and make sure that the line has single and then double speech marks inside the brackets.


os.system('"program path"')

2. Run the python file to start the crash

You can either press F5 inside the IDLE or double click on the file in Windows File explorer.

 

Download Script –

Calculator Open Python Mega

 

Leave a Reply