##// END OF EJS Templates
Backport PR #4738: don't inject help into user_ns...
Backport PR #4738: don't inject help into user_ns because it's in builtins. I presume this was for old Pythons, but it doesn't seem necessary for ≥ 2.7. Prompted because the injection fails on 3.4, causing the warning: WARNING: help() not available - check site.py but help actually works just fine.

File last commit:

r2058:7e8fc59a
r13966:56c2565a
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()