Here’s a list of resources for Mac admins converting their scripts from Python 2 to Python 3.
Python 3 framework
https://www.python.org/downloads/mac-osx/ (generic/stock framework from python.org)
(relocatable framework with pip, PyObjC, xattr, and six pre-installed)
Install python-modernize and pylint using pip:
pip install modernize pip install pylint
Apple Installer pkg containing python-modernize and pylint:
six is installed as part of Apple’s Python 2.7 install; if you download the relocatable Python 3 framework from the link above, it also includes (a newer version of) six.