![]() |
If Python 2.x source code and applies a transform it into valid Python 3.x code. - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: If Python 2.x source code and applies a transform it into valid Python 3.x code. (/thread-18498.html) |
If Python 2.x source code and applies a transform it into valid Python 3.x code. - vivekm - May-20-2019 I have changed between the versions, showing how to change from Python 2-style to Python 3.1-style. I'm getting a SyntaxError on a file that was generated by the system itself Django/config/_init_.py. RE: If Python 2.x source code and applies a transform it into valid Python 3.x code. - Larz60+ - May-20-2019 Please show offending code. |