skip to navigation
skip to content

Not Logged In

py-execute 0.1.4

External process executor wrapper

Latest Version: 0.1.7

External Process Execution Wrapper
-----------------------------------

Allows you to execute external commands getting large outputs in real-time but also getting
all the output as a return variable.


Examples
--------

from py_execute import run_command
ret = run_command.execute('echo "Hello World"')
Hello World
ret
'Hello World
'

ret = run_command.execute('read -p "Do you like py-executor?" yn; case $yn in [yY]* ) echo "cool";; esac', user_input='y
')
cool
ret
'cool
'  
File Type Py Version Uploaded on Size
py-execute-0.1.4.tar.gz (md5) Source 2014-08-12 4KB
  • Downloads (All Versions):
  • 36 downloads in the last day
  • 156 downloads in the last week
  • 524 downloads in the last month