Using 2to3.py?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/02/2011 at 07:41, xxxxxxxx wrote:

    Hi All,

    I have a python 2 script that I want to convert to python 3.
    I read about the 2to3.py script and I do have python 3.11 installed as well as 2.6.4.
    I have located the 2to3.py script in the tools/scripts folder.

    On the python.org site, the example shows a prompt with a $.
    But I don't know what kind of console to run on Windows XP to get that $ prompt so I can convert my script.
    I have run python IDLE, but it has a >>> prompt, not a $ prompt.

    Does anyone have any experience in converting a python 2 script to python 3 using this tool?

    Thanks!



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/02/2011 at 10:35, xxxxxxxx wrote:

    Hi Dragon Seer, I would like to redirect you to a Python forum/mailgroup, because this forum just can cover questions related to Python in CINEMA 4D.

    http://groups.google.com/group/comp.lang.python/topics
    http://www.python-forum.org/pythonforum/index.php

    Cheers, Seb


Log in to reply