Open tappoz opened 4 years ago
Is it possible to make the code in a2sv.py compatible with Python 3? E.g. moving from print 'abc' to print('abc').
a2sv.py
print 'abc'
print('abc')
As an alternative the script could check at runtime the Python version with sys.version or sys.version_info[0] and stop the execution if not Python 2.
sys.version
sys.version_info[0]
2to3
Is it possible to make the code in
a2sv.py
compatible with Python 3? E.g. moving fromprint 'abc'
toprint('abc')
.As an alternative the script could check at runtime the Python version with
sys.version
orsys.version_info[0]
and stop the execution if not Python 2.