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.