##// END OF EJS Templates
Cleaned up embedded shell and added cleanup method to InteractiveShell....
Cleaned up embedded shell and added cleanup method to InteractiveShell. * Added explicit code in InteractiveShell to make sure it cleans itself up. This is now done by the single method .cleanup, that can be called to have InteractiveShell cleanup. We can't use __del__ because of the many cycles in our object graph. * The embedded shell is refactored to no embedding logic is in the base class. Thus, InteractiveShell no longer takes an ``embedded`` argument. Just use InteractiveShellEmbed. * Created a super simple top-level :func:`embed` function that creates an InteractiveShellEmbed and calls it.

File last commit:

r2099:9d979be0
r2226:7053ea2c
Show More
irunner.1
49 lines | 1.2 KiB | application/x-troff | GroffLexer
.TH IRUNNER 1 "April 24, 2007" "" ""
.SH NAME
\fBirunner \- interactive runner interface
.SH SYNOPSIS
.nf
.fam C
\fBirunner\fP [\fIoptions\fP] \fIfile_to_run\fP
.fam T
.fi
.SH DESCRIPTION
irunner is an interface to the various interactive runners
available in IPython's \fBirunner\fP module.
.PP
The already implemented runners are listed below; adding
one for a new program is a trivial task, see the source
for examples.
.SH OPTIONS
.TP
.B
\-h, \-\-help
show this help message and exit
.TP
.B
\-\-ipython
IPython interactive runner (default).
.TP
.B
\-\-python
Python interactive runner.
.TP
.B
\-\-sage
SAGE interactive runner.
.SH EXAMPLE
irunner.py \-\-python \-\- \-\-help
will pass \-\-help to the python runner.
Similarly,
irunner.py \-\-ipython \-\- \-\-interact script.ipy
.SH SEE ALSO
.BR ipython(1)
.br
.SH AUTHOR
\fBirunner\fP is an extension of Ken Schutte <kschutte-AT-csail.mit.edu>'s
script contributed on the ipython-user list:
http://scipy.net/pipermail/ipython-user/2006-May/001705.html
.PP
This manual page was written by Bernd Zeimetz <bernd@bzed.de>, for the Debian
project (but may be used by others). Modified by Fernando Perez
<Fernando.Perez@berkeley.edu> for inclusion in IPython.