I am working on a PyS60 application for S60 2nd Edition devices. I have coded my application logic in Python 2.5.
Is there any tool that automates th conversion from Python 2.5 to Python 2.2 or do I need to do in manually?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know of any tool that would go from 2.5 to 2.2 automatically; but there was one a while ago that did 2.3 to 2.2 by RADLogic.
Depending on how many recent features your code uses, it may be trivial to convert it manually.
I had to backport some code a while back and all it actually took was to define True and False if they weren’t already defined, write up some simple replacements for
sum(),enumerate(), etc, and grab old versions of modules likedatetimeandloggingthat weren’t yet in the 2.2 standard library.