Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Mon, 29 Dec 2003
Uh, I've discovered MacPython
Well, yesterday I posted about Bob Ippolito's blog. Turns out that the story is much bigger than that, at least for Python people on the Macintosh. There's an entire Python subcommunity dedicated to making Python rock on the Macintosh. At the MacPython page, you'll find the MacPython 2.3 addons for Panther, which include IDLE and a Python IDE as well as a bunch of other stuff. The pythonmac.org site contains an index of more MacPython contributors and their work.

Bill Bumgarner is one of the MacPython contributors, and I found a bunch of useful information on his blog, including this explanation of prebinding. I also found out about IPython and pyrepl, which are augmented command line interpreters for Python. I managed to get both of them running on Panther's python, and I've gotten IPython to work as a wrapper for Chandler's python. I had to patch pyrepl to get it to work for regular python, and I'm not sure I like it enough to do the work for Chandler python. They both offer good command completion, and easier access to the Python documentation (along the way I learned about the PYTHONDOCS environment variable). IPython also includes lots of customization facilties and the ability to log your session and play it back later -- a feature that is really useful when I have to get the repository set up to do some work. pyrepl's big feature is that it can do muliple line editing in the shell, which is nice for Python's loops and conditionals. Unfortunately, the implementation flickers a bit (in character mode!), which makes it hard to work with. The completion support seems better -- it can recognize packages to import, for instance. It also seems that pyrepl isn't being that actively developed any more. I'd love to see pyrepl's multi-line editing, and better completion work their way into IPython.

I'm glad that I discovered this before I wasted too much time. Of course, if I had clicked the MacPython link off of Python.org, I would have found this sooner. But better late than never...

[22:54] | [computers/operating_systems/macosx] | # | TB | F | G | 4 Comments | Other blogs commenting on this post
You can subscribe to an RSS feed of the comments for this blog: RSS Feed for comments

Add a comment here:

You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are: <a href>, <em>, <i>, <b>, <blockquote>, <br/>, <p>, <code>, <pre>, <cite>, <sub> and <sup>.

You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk

Name:


E-mail:


URL:


Comment:


Remember my info?


twl JPG

About

Ted Leung FOAF Explorer

I work at the Open Source Applications Foundation (OSAF).
The opinions expressed here are entirely my own, not those of my employer.

Creative Commons License
This work is licensed under a Creative Commons License.

Now available!
Professional XML Development with Apache Tools : Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Technorati Profile
PGP Key Fingerprint
My del.icio.us Bookmarks
My Flickr Photos


Syndicate
RSS 2.0 xml GIF
Comments (RSS 2.0) xml GIF
Atom 0.3 feed
Feedburner'ed RSS feed

< December 2003 >
SuMoTuWeThFrSa
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
28293031   

Archives
2006
2005
2004
2003

Articles
Macintosh Tips and Tricks

Search
Lucene
Blogs nearby
geourl PNG

Categories
/ (1567)
  books/ (33)
  computers/ (62)
    hardware/ (15)
    internet/ (58)
      mail/ (11)
      microcontent/ (58)
      weblogs/ (174)
        pyblosxom/ (36)
      www/ (25)
    open_source/ (145)
      asf/ (53)
      osaf/ (32)
        chandler/ (35)
        cosmo/ (1)
    operating_systems/ (16)
      linux/ (9)
        debian/ (15)
        ubuntu/ (2)
      macosx/ (101)
        tips/ (25)
      windows_xp/ (4)
    programming/ (156)
      clr/ (1)
      dotnet/ (13)
      java/ (71)
        eclipse/ (22)
      lisp/ (34)
      python/ (86)
      smalltalk/ (4)
      xml/ (18)
    research/ (1)
    security/ (4)
    wireless/ (1)
  culture/ (10)
    film/ (8)
    music/ (6)
  education/ (13)
  family/ (17)
  gadgets/ (24)
  misc/ (47)
  people/ (18)
  photography/ (25)
    pictures/ (12)
  places/ (3)
    us/ (0)
      wa/ (2)
        bainbridge_island/ (17)
        seattle/ (13)
  skating/ (6)
  society/ (20)



[Valid RSS]

del.icio.us linkblog

www.flickr.com

Blogroll

java.blogs
Listed on BlogShares

Locations of visitors to this page
Where are visitors to this page?


pyblosxom GIF