shell-cmd 1.0.2

Creator: bradpython12

Last updated:

0 purchases

shell-cmd 1.0.2 Image
shell-cmd 1.0.2 Images

Languages

Categories

Add to Cart

Description:

shellcmd 1.0.2

shell-cmd Python package
Simple wrapper for executing shell commands using just one Python function.
Installation
$ pip install shell_cmd

Example
from shell_cmd import sh


# Printing output
print(sh("ls -l"))

# Getting output in a list
ll = sh("ls -l", True)

If error happens during the execution of the shell command, then RunShellException
custom exception is raised.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.