

As we can see the difference between the images. In Vim, variable and function are of different color. How can I bring color to my Python REPL?
I want to do it by myself. Please suggest me how to do this. Whether I should have to do something with stdout stream object or I have to change something in Python interpreter and then build it from source?
You should probably have searched a little bit more first, because there are many answers here about this. Perhaps the best ones are:
Other Attmepts to improve the python REPL:
However, I find PtPython trying to do too much, and thus have a bloated dependency structure on: appdirs, jedi, prompt_toolkit, pygments, and indirectly to tox, wcwidth, parso, and possibly more, which is why I prefer my own no-nonsense 3-line ~/.pyrc solution for trivial changes as asked in this question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With