×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    7

    Python 2.2? 2.3?

    Am I missing something? How come the only version of Python for S60 available on the nokia site (or anywhere it seems) appears to be of Python 1.2, rather than 2.2 or 2.3 (or even 2.4)?

    Where can I download Python 2.2 or 2.3 for S60?

    It seems many packages break (such as cookielib) if you try to import 2.0+ Python libs while S60 is still fitted with Python 1.2

    Example would be cookielib, which expects the keyword "yield", except 1.2 doesn't recognize yield at all!!!



    Please help. thx

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,563

    Re: Python 2.2? 2.3?

    Yes, you're missing something.

    http://opensource.nokia.com/projects...s60/index.html says "The device installation package includes the Python interpreter (based on Python 2.2.2)".

    So, the 1.2 or 1.3.1 (which seems to be the latest) are just the Nokia version numbers for the packaging for S60.

  3. #3
    Regular Contributor
    Join Date
    Aug 2004
    Posts
    295

    Re: Python 2.2? 2.3?

    IIRC you need to have statement "from __future__ import generators" before using yield.

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    7

    Re: Python 2.2? 2.3?

    Thanks you guys.

    Does this mean there are no current Python 2.3+ versions available for S60?

    Many things, such as urllib2, spidermonkey python-javascript lib require at least python 2.3.

Similar Threads

  1. Python for Series 60 released on Forum Nokia!
    By eriksmartt in forum Symbian
    Replies: 5
    Last Post: 2009-07-14, 17:00
  2. Socket-server in Python
    By rexwal in forum Symbian
    Replies: 4
    Last Post: 2008-02-08, 00:36
  3. Use filebrowser.py to execute your python scripts.
    By zweiberg in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-11-01, 13:24
  4. Replies: 14
    Last Post: 2006-08-22, 18:33
  5. Python C++ Extension with Callback crashing
    By diggerdeep in forum Symbian
    Replies: 2
    Last Post: 2005-11-10, 16:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×