You Are Here:

Community: Developer Discussion Boards

#1 Old Python 2.2? 2.3? - 2006-06-19, 12:34

Join Date: Jun 2006
Posts: 7
mflux
Offline
Registered User
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
Reply With Quote

#2 Old Re: Python 2.2? 2.3? - 2006-06-19, 13:16

Join Date: Mar 2003
Posts: 6,211
petrib
Offline
Forum Nokia Champion
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.
Reply With Quote

#3 Old Re: Python 2.2? 2.3? - 2006-06-19, 14:30

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
IIRC you need to have statement "from __future__ import generators" before using yield.
Reply With Quote

#4 Old Re: Python 2.2? 2.3? - 2006-06-26, 23:36

Join Date: Jun 2006
Posts: 7
mflux
Offline
Registered User
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.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Python for Series 60 released on Forum Nokia! eriksmartt Python 5 2009-07-14 18:00
Socket-server in Python rexwal Python 4 2008-02-08 01:36
Use filebrowser.py to execute your python scripts. zweiberg Symbian Tools & SDKs 1 2006-11-01 14:24
Launching a Python script (with arguments) from Flash? bouvin Python 14 2006-08-22 19:33
Python C++ Extension with Callback crashing diggerdeep Python 2 2005-11-10 17:33

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia