Skip to content

`pip install simple_terminal` A simple way to run terminal commands within a Python script.

Notifications You must be signed in to change notification settings

seanchon/simple_terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple_terminal

A simple way to run terminal commands within a Python script.

Code Example

from simple_terminal import Terminal

terminal = Terminal()

results = terminal.command('ls')

or

from simple_terminal import Terminal

with Terminal() as terminal:
  results = terminal.command('ls')

Motivation

This library exists to run terminal commands from within a script and capture stdout to create easier automation of commonly performed tasks.

Installation

pip install simple_terminal

License

MIT

About

`pip install simple_terminal` A simple way to run terminal commands within a Python script.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages