[Tutor] Python3 Help

2017-07-23 Thread Brandon Anderson
Hello!

1.  I have Python3 installed on my 2017 MacBook Pro. I know that it is 
successfully installed because, when I enter “Python3’ into my terminal,
I get the following message:

Python 3.6.2 (v3.6.2:5fd33b5926, Jul 16 2017, 20:11:06) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

2.  I’m trying to locate the directory path to where Python3 is located on my 
system, but when I enter 
the following command:
$ type -a python3

I get:
-bash: $: command not found  

My understanding is that the command should have provided me with the 
path to Python3 is located on my system.

3.  How do I determine why I’m getting the ‘error’ command, instead of the 
directory location of Python3.
I need the location in order to setup my Text Editor to execute Python3 
commands.

Thank you in advance.

Brandon Anderson
(510) 468-0154
brandonander...@icloud.com
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Python3 Help

2017-07-24 Thread Brandon Anderson
Success!

Thank you, Danny!

Mission accomplished.

-Brandon

Sent from my iPhone

On Jul 23, 2017, at 5:44 PM, Danny Yoo  wrote:

>> 2.  I’m trying to locate the directory path to where Python3 is located on 
>> my system, but when I enter
>>the following command:
>>$ type -a python3
>> 
>>I get:
>>-bash: $: command not found
> 
> 
> Ah.  Do not include the leading "$" in the command that you're typing.
> I'm assuming that you're reading some instruction that says something
> like this:
> 
> ---
> 
> Type the following into your command prompt:
> 
>$ type -a python3
> 
> 
> 
> If you are reading such an instruction, don't literally type the
> dollar sign.  "$" is a convention that's used to indicate to you to
> type the rest of the line into your command prompt.  It's because, by
> default, the command shell will use "$" as its primary prompt to tell
> the user that it is ready to accept a new command.
> (https://superuser.com/questions/57575/what-is-the-origin-of-the-unix-dollar-prompt)
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor