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

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

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.