cd charles_b/external/python/ cd ipython-0.9.beta3 sudo python setup.py install ipython
downloaded last weekend
Please read the sections 'Initial Configuration' and 'Quick Tips' in the IPython manual
looks like ipython requires readline library too... grrr. To build/install readline 5.1:
gnutar xfvzp readline-5.1.tar.gz cd readline-5.1 ./configure --disable-shared --enable-static sudo make install cd ../readline-0.0.0 sudo python setup.py install
that got it!
installing iPython for better interactive shell.
python setup.py build sudo python setup.py install
found references to iPython and installed that
<A HREF="http://www.friday.com/bbum/2006/03/06/python-mac-os-x-and-readline/" ADD_DATE="1194625594444"> bbum’s weblog-o-mat » Blog Archive » Python, Mac OS X, and Readline.</A> <A HREF="http://ipython.scipy.org/moin/Donload" ADD_DATE="1194625594444"> Download - IPython</A> <A HREF="http://ipython.scipy.org/dist/" ADD_DATE="1194625594445"> Index of /dist</A> <A HREF="http://ipython.scipy.org/dist/ipython.el" ADD_DATE="1194625594445"> | http://ipython.scipy.org/dist/ipython.el</A>
wanted interpreter history in python.
after looking, it didn't look like there was a simple way to get command history on the mac using built in interpreter.
<A HREF="http://www.google.com/search?hl=en&client=firefox-a&channel=s&rls=org.mozilla%3Aen-US%3Aofficial&hs=NfB&q=python+interpreter+history+mac+osx&btnG=Search" ADD_DATE="1194625594442"> python interpreter history mac osx - Google Search</A> <A HREF="http://kdl.cs.umass.edu/proximity/" ADD_DATE="1194625594442"> Proximity Software</A> <A HREF="http://my.opera.com/alecmg/blog/2007/03/30/add-history-and-completion-to-python-in" ADD_DATE="1194625594442"> Add history and completion to python interpreter - Alec's page - by Alec</A> <A HREF="http://my.opera.com/alecmg/blog/2006/10/25/adjust-your-monitor-brightness" ADD_DATE="1194625594442"> Adjust your monitor brightness - Alec's page - by Alec</A> <A HREF="http://www.google.com/search?q=python+readline&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a" ADD_DATE="1194625594443"> python readline - Google Search</A> <A HREF="http://www.peterbe.com/To-readline-or-readlines" ADD_DATE="1194625594443"> To readline() or readlines() - Peterbe.com (Peter Bengtsson on Python, Zope, Kung Fu, London and photos)</A> <A HREF="http://docs.python.org/lib/module-rlcompleter.html" ADD_DATE="1194625594443"> 15.8 rlcompleter -- Completion function for GNU readline</A>