Runtime
PySandbox includes a custom runtime module pysandbox.py
with a single a single function:
For convinence this is auto-imported into every codeblock via:
You can pass in an ipython compatible object that exposes repr****_ or matplotlib.pyplot
.
where current_target
is a pre-defined convenience function:
which returns the target passed into exec
.
Here is a full example: