karthikmaiya
Sep 02, 2014 - 22:16
Can pythonista convert python 2 code to python 3 code?
Can pythonista convert python 2 code to python 3 code?
Haven't tried this, but I think you can use 2to3 on Pythonista.
I checked, and both 2to3 and the lib2to3 module don't appear to be included with Pythonista. Like most of the other modules that omz either forgot to include or intentionally omitted, they can be obtained from http://hg.python.org/ and installed manually to site-packages. (or, in the case of 2to3, run directly.)
How would i download it and run it from hg.python.org