[IPython-dev] Extensions/pydb_ipy.py added
Ville M. Vainio
vivainio at gmail.com
Sat Oct 28 04:47:37 EDT 2006
I've now added pydb_ipy.py in Extensions, importing of which creates a
new %pydb magic:
[ipython]|2> import pydb_ipy
[ipython]|3> %pydb a.py
(q:\ipython\a.py:1): <module>
(Pydb) l
1 -> print "hello"
2 print "world"
[EOF]
(Pydb) c
hello
world
The program finished and will be restarted
(q:\ipython\a.py:1): <module>
(Pydb) q
[ipython]|4> %pydb a.py
It appeard we need to do some SystemExit catching there also because
pydb exits with sys.exit() on many error situations.
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the IPython-dev
mailing list