Skip to content

Commit f75f041

Browse files
committed
Added README file to Shutdown or restart mini project
1 parent fb34ada commit f75f041

File tree

1 file changed

+29
-0
lines changed
  • projects/Shutdown_or_restart_your_device

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+

0 commit comments

Comments
 (0)