How to run python2 code in python3 is any machanisam. | Sololearn: Learn to code for FREE!

+1

How to run python2 code in python3 is any machanisam.

with examples pls.

5/7/2017 10:36:46 AM

Sriram Chowdary Mellamputi

1 Answer

New Answer

+6

Some ressources to do that: http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html https://docs.python.org/2/library/2to3.html https://docs.python.org/3/howto/pyporting.html https://docs.python.org/3.0/library/2to3.html