pyshutdown
pyshutdown copied to clipboard
📚 Python shutdown library
pyshutdown
Python shutdown library
Version : V1.1
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()