##// END OF EJS Templates
add Application.launch_new_instance classmethod...
add Application.launch_new_instance classmethod allows uniformity when making changes. The change here that prompted it is passing arguments to the instance constructor and initialize.

File last commit:

r2058:7e8fc59a
r11171:608d867f
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()