pyshutdown Python shutdown library Version : V1.1 Download This version only work in windows Installation From source file : git clone https://github.com/sepandhaghighi/pyshutdown.git python setup.py install From PyPI: pip install shutdown Usage import shutdown lib python from shutdown import * shutdown function shutdown(time=your_time,force=False,warning_off=False) restart function restart(time=your_time,force=False) hibernate function hibernate(force=False) logoff function logoff(force=False) cancel any shutdown process cancel()