ComputerCommands

A Python package for running commands on any operating system.


License
MIT
Install
pip install ComputerCommands==2.1.1

Documentation

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()