OS X Trick: enhancing Python on OS X

From MacPython you can get a Panther distribution containing an IDE and a Package Manager, which will allow you to install TkInter, and readline, fixing the obnoxious editing problems in line-mode Python.

Get also Tk. Of possible interest are Pmw (including Blt), and Tile. To install Pmw on Panther (or Tiger!), move the untarred Pmw directory to /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/

It seems in Tiger (and perhaps Panther) one can enable readline support by means of the pimp package:

python `python -c "import pimp; print pimp.__file__"` -i readline

Very nice.

Jan 05, 2006

macpython (/osxtricks)
2006-01-05, 12:26 [edit]

  Login:   Password:   [rss] [cc] [w3] [css]

© M. Vallisneri 2012 — last modified on 2010/01/29

Tantum in modicis, quantum in maximis