/simple-shutdown-program-PYTHON

A simple 2-line for device shutdown code in Python.

Primary LanguagePython

simple-shutdown-program-PYTHON

A simple 2-line for device shutdown code in Python. Make sure you save your other files before running the code (HAHA!)

import os : The OS module in Python provides functions for interacting with the operating system. OS comes under Python’s standard utility modules. This module provides a portable way of using operating system dependent functionality.