To switch off you Computer in a specific moment or after a specific time.
The script will work fine with Python 3.7.3. Simply add the autoshutdown.py script in a cron (/etc/crontab for example) and it will power off your local machine when you desire. If you are accidentally working on the pc, you can press the button "Cancel" to abort the process.
Enjoy.