TenjintShell.var_expand

TenjintShell.var_expand(cmd, depth=0, formatter=<IPython.utils.text.DollarFormatter object>)

Expand python variables in a string.

The depth argument indicates how many frames above the caller should be walked to look for the local namespace where to expand variables.

The global namespace for expansion is always the user’s interactive namespace.