A package shutdown computer
Use the package manager pip to install shutdown_computer.
pip install shutdown-computer
from shutdown_computer import shutdown
shutdown()
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.