Skip to content

Latest commit

 

History

History

Shutdown_or_restart_your_device

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Power Options

This script shuts down or restarts your computer

Prerequisites

None

How to run the script

Steps on how to run the script along with suitable examples.

  1. Type the following on the command line: python PowerOptions.py

  2. Press enter and wait for prompt. Type “r” to restart or “s” to shut down

Example: python PowerOptions.py Use 'r' for restart and 's' for shutdown: r

Screenshot/GIF showing the sample use of the script

python PowerOptions.py Use 'r' for restart and 's' for shutdown: r

Author Name

Phillibob55