[Tutor] unable to locate python on mac
Steven D'Aprano
steve at pearwood.info
Wed Jan 31 21:15:40 EST 2018
On Wed, Jan 31, 2018 at 07:44:07PM +0000, Alan Gauld via Tutor wrote:
> AS to where it is located you can find that out at the Terminal OS
> prompt by typing
>
> $ which python3
You can also run:
sys.executable
from Python itself. For example, on my system:
py> sys.executable
'/usr/local/bin/python3.5'
It will probably be somewhere different on Mac OS.
--
Steve
More information about the Tutor
mailing list