[Eug-lug] cool little hack for OSX python users

larry price laprice at gmail.com
Sat Jan 15 00:58:50 PST 2005


you just got that mac and you open a terminal and load up a python
interpreter to do stuff,
only to discover that you have no readline support (yech!)

drop to the shell and type
python `python -c "import pimp; print pimp.__file__"` -i readline

restart the interpreter, Voilå 

courtesy of Bob Ippolito http://www.pycs.net/bob/weblog/

(oddly enough this topic was mentioned at thursday's meetup)

-- 
http://Zoneverte.org -- information explained
Do you know what your IT infrastructure does?


More information about the EUGLUG mailing list