##// END OF EJS Templates
Changed %hist to default to NOT printing numbers, added -p and -o options....
Changed %hist to default to NOT printing numbers, added -p and -o options. -p: print python prompts before inputs -o: print output as well Together, these two make '%hist -op' an easy way to get doctest-valid sessions generated from prior input.

File last commit:

r2058:7e8fc59a
r2441:0da36568
Show More
pycolor
6 lines | 183 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Simple wrapper around PyColorize, which colorizes python sources."""
import IPython.utils.PyColorize
IPython.utils.PyColorize.main()