Archive for August 30th, 2005

Readline for python on OSX

Tuesday, August 30th, 2005

Was trying to use python interactively on the command line in OSX 10.4, and realized it didn’t have readline support (up arrow command history in interative python shell). Fortunately, google turned up the answer here. To summarize, running the following command in a terminal did the trick.

python `python -c import pimp; print pimp.file` -i readline