##// END OF EJS Templates
Reimplemented IPythonWidget's edit magic handling to support line numbers. Also, removed the code path for launching the file with the system default Python application, as this is too dangerous.
Reimplemented IPythonWidget's edit magic handling to support line numbers. Also, removed the code path for launching the file with the system default Python application, as this is too dangerous.

File last commit:

r2058:7e8fc59a
r2850:c483db63
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()