Port for Python2 code | Sololearn: Learn to code for FREE!


Port for Python2 code

What is the easiest way to run python2 code on device with python3 installed without running into errors ?

2/8/2018 7:57:53 PM


2 Answers

New Answer


install python2 right along side it. I've done it before!


Use futurize: http://python-future.org/automatic_conversion.html