Closed cclauss closed 4 years ago
This is intended to run on macOS's included Python 2, in case someone didn't install any other version of Python - if you're getting this issue, I can update my scripts to explicit specify python2.
At some point real soon now, Apple will release an OSX update that upgrades the builtin Python from 2.7 to 3.7 and this script should be ready for that change. Most Linux distros have already made this change and Apple will need to follow suit. This PR does not break Python 2 compatibility but it does help with Python 3 compatibility.
xrange() is called on line 36 but it was removed in Python 3 in favor of range().