Use the good ol' Python interactive prompt but add some color to it!

Stefano Mazzucco d0706fc034 Reformat line. 8 년 전
.gitignore bf3180e641 Ignore some Emacs files 9 년 전
LICENSE 7e347ca4c9 Remove exec flag: bad notabug site! 9 년 전
README.rst e1028e94f7 add python_startup and its tests 9 년 전
python_startup.py d0706fc034 Reformat line. 8 년 전
runtests.py e1028e94f7 add python_startup and its tests 9 년 전
test_python_startup.py e1028e94f7 add python_startup and its tests 9 년 전

README.rst

==================================================================
A simple but fancy prompt for the Python interactive interpreter
==================================================================

Use the good ol' Python interactive prompt but add some color to it!

Supports Python 2.7 and Python 3.x.

Export the ``PYTHONSTARTUP`` environment variable so that it points
to ``python_startup.py`` and run the Python interpreter as usual.

You'll get a colorized input prompt that keeps track of how many times
it has been used and a colorized output prompt that is in sync with it.

Did I mention that it also has autocompletion enabled?

Note: ``globals()`` will contain the ``sys`` module.