# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/harisekhon
#
# Returns the first argument that is found as an executable in the $PATH, which preference given to local Python library installation
#
# Useful for Macs to find where libraries executable scripts like nosetests which may get installed locally in $HOME/Library/Python/2.7/bin to avoid Mac OS X System Integrity Protection