Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions projects/Shutdown_or_restart_your_device/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Power Options
<!--Remove the below lines and add yours -->
This script shuts down or restarts your computer

### Prerequisites
<!--Remove the below lines and add yours -->
None

### How to run the script
<!--Remove the below lines and add yours -->
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
<!--Remove the below lines and add yours -->
python PowerOptions.py
Use 'r' for restart and 's' for shutdown: r

## *Author Name*
<!--Remove the below lines and add yours -->
Hannah Machado