NetLogo 7.0.0-beta2:

py:python2

py:python2

Reports either the path to Python 2 configured in the python.properties file or, if that is blank, looks for a Python 2 executable on your system’s PATH. For Windows, there is an installation option for including Python on your PATH. For MacOS and Linux, it will likely already be on your PATH. The output of this reporter is meant to be used with py:setup, but you may also use it to see which Python 2 installation this extension will use by default.

For example, on MacOS with Homebrew installed Python 2:

Take me to the full Python Extension Dictionary