ComputerCommands
This is a package used to run computer commands using python in any operating system.
Installation
Run this command to install:
pip install ComputerCommands
Usage
import ComputerCommands
# Shutdown
ComputerCommands.shutdown()
# Reboot
ComputerCommands.reboot()
# Sleep
ComputerCommands.sleep()
# Logout
ComputerCommands.logout()
# Get computer's IP address
ComputerCommands.ip_address()
# Get computer's operating system name
ComputerCommands.operating_system()