On 01/02/18 02:15, Steven D'Aprano wrote:
> You can also run:
>
> sys.executable
I'd forgotten that one...
>
> from Python itself. For example, on my system:
>
> py> sys.executable
> '/usr/local/bin/python3.5'
For the benefit of the OP, you need to import sys first
so it looks like:
>>> imp
On Wed, Jan 31, 2018 at 07:44:07PM +, 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/
On 31Jan2018 19:44, Alan Gauld wrote:
On 31/01/18 17:42, Megan Zirger wrote:
I am completely new to python and trying to learn how to set up and get
going.
I'm not a Mac expert but v2.7 is usually installed on a Mac by default
(although its just a basic version its fine for learning)
Yes, t
> On Jan 31, 2018, at 13:44, Alan Gauld via Tutor wrote:
>
> If you need more details you will need to ask more specific questions.
> Bear in mind that although some folks here use Macs most of us don't.
>
Another pertinent question is what python did you actually install (i.e., where
did you
On 31/01/18 17:42, Megan Zirger wrote:
> I am completely new to python and trying to learn how to set up and get
> going.
I'm not a Mac expert but v2.7 is usually installed on a Mac by default
(although its just a basic version its fine for learning)
If you have downloaded v3.6 9the latest ver