
Python shutdown library
Version : V1.1
Download
From source file :
git clone https://github.com/sepandhaghighi/pyshutdown.git
python setup.py install
From PyPI:
pip install shutdown
- import shutdown lib
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()
