Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Python on Leopard. readline is finally bundled, so the interactive interpreter works correctly without hunting around for frustratingly elusive add-ons. easy_install is bundled as well.

Tagged , , , , ,

5 comments

  1. Hah! In better shape than Java then. :-)

    Dominic Mitchell - 31st October 2007 20:32 - #

  2. c.lenz's blog doesn't appear to allow comments, so I'm asking on this one... he claims the bundled Python is 2.5.1, but I don't see how that can be:

    Emily:~ alex$ python
    Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
    [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import sys; print sys.version
    2.5 (r25:51918, Sep 19 2006, 08:49:13)
    [GCC 4.0.1 (Apple Computer, Inc. build 5341)]
    >>>

    Looks like 2.5, NOT 2.5.1...!

    Alex

    Alex Martelli - 1st November 2007 03:19 - #

  3. Would be cool if someone could run listmodules on their leopard box, and post the result somewhere:

    http://effbot.org/zone/listmodules-cgi.htm

    Fredrik - 1st November 2007 10:10 - #

  4. Alex - you're not using the Leopard bundled version of Python, probably you are using an old version (try 'which python').
    % /usr/bin/python
    Python 2.5.1 (r251:54863, Oct  5 2007, 21:08:09) 
    [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> 
    
    That's the one you want.

    Nicholas Riley - 1st November 2007 10:36 - #

  5. Module list. Wow, a lot of stuff in there.

    Nicholas Riley - 1st November 2007 10:42 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site