Apr-29-2019, 06:56 AM
If this is python 2 code that you want to convert to python 3, use the
2to3
utility. It will remove the unnecessary __future__
imports and probably keep the rest of the code working. Note that __future__
imports still exist in python 3.