If you want to debug a Python script from inside another Python
program (often a Python shell program such as
IPython), the
runl(), and runv() function calls can be of help. See
1.3.7 for information about these calls.
The 'l', and 'v' suffixes have meanings analogous that used in
os.spawnv(), os.execv(), os.spawnl(), or
os.execl() (and other Python library functions).
See About this document... for information on suggesting changes.