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

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

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.