File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
projects/Shutdown_or_restart_your_device Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # Power Options
2+ <!-- Remove the below lines and add yours -->
3+ This script shuts down or restarts your computer
4+
5+ ### Prerequisites
6+ <!-- Remove the below lines and add yours -->
7+ None
8+
9+ ### How to run the script
10+ <!-- Remove the below lines and add yours -->
11+ Steps on how to run the script along with suitable examples.
12+ 1 . Type the following on the command line:
13+ python PowerOptions.py
14+
15+ 2 . Press enter and wait for prompt. Type “r” to restart or “s” to shut down
16+
17+ Example:
18+ python PowerOptions.py
19+ Use 'r' for restart and 's' for shutdown: r
20+
21+ ### Screenshot/GIF showing the sample use of the script
22+ <!-- Remove the below lines and add yours -->
23+ python PowerOptions.py
24+ Use 'r' for restart and 's' for shutdown: r
25+
26+ ## * Author Name*
27+ <!-- Remove the below lines and add yours -->
28+ Hannah Machado
29+
You can’t perform that action at this time.
0 commit comments