using arrow keys in the python shell on Mac OS X

mtbeedee at gmail.com mtbeedee at gmail.com
Fri Jan 20 12:06:05 EST 2006


You need libreadline to make it work.  For some stupid reason OSX
doesnt come with it installed.

just get the gzipped one from here:
http://www.pycs.net/bbum/2004/1/21/readline.so.gz

then gunzip it and put the readline.so into
/Library/Python/2.3/site-packages/

then fire up python again and it should work.




More information about the Python-list mailing list