#pythonstartup

[ follow ]
fromTreyhunner
2 weeks ago

Handy Python REPL Modifications

I find myself in the Python REPL a lot. I open up the REPL to play with an idea, to use Python as a calculator or quick and dirty text parsing tool, to record a screencast, to come up with a code example for an article, and (most importantly for me) to teach Python. My Python courses and workshops are based largely around writing code together to guess how something works, try it out, and repeat.
Python
Python
fromTreyhunner
1 month ago

Customizing your Python REPL's color scheme (Python 3.14+)

Python 3.14 adds REPL syntax highlighting and the REPL color scheme can be customized using a private module and enabled via PYTHONSTARTUP.
[ Load more ]