Sunday 25 February 2018

Tutorial Python in Mac the crash course

How to Install Python3 in Mac

To Install Type the below command in your mac terminal
1- $brew install python3

As soon as we complete the installation of the Python we can check the status if the installation is successful by executing the below command.

2- $python3
Python 3.5.0 (default, Sep 17 2015, 13:05:18)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

Once we execute the command we will be pointed to the Python Prompt.
We can write our hello world program then and there.

>>> print("Hello World")
Hello World

This will be output of the script.