knitron (version 0.2)

knitron.execute_code: Execute a single Python command

Description

Execute a single Python command

Usage

knitron.execute_code(code, profile = "knitr")

Arguments

code
the command to execute
profile
the name of the profile

Value

the command's stdout and stderr