Beginners Guide: Setting A Python Environment on M
  • Introduction
  • Update it, right away!
  • Download, download
  • Python
  • Option 1: Brew it!
    • Using Home-brew
    • Python with Homebrew
  • Option 2: Pyenv it!
    • Install and use multiple Python versions
  • Option 3: Conda it!
  • Run Python
    • Get pip!
    • NumPy-SciPy-Matplotlib
    • Get an IDE
Powered by GitBook
On this page

Run Python

PreviousOption 3: Conda it!NextGet pip!

Last updated 7 years ago

Okay, here's the fun part!

Now that you have a Python environment setup. Get ready to jump into the Python world.

The easiest way to load Python on your system is to go the Terminal window and run the following command:

Python

The window should throw a summary of the Python version you are running and a bunch of other details for help, copyright and credits etc.

You're set.

Just start working your way up by welcoming yourself to the Python world:

print("Hello world!")

But...! Yes, there is a but! If you want more than basic flavor of Python you should install popular packages and libraries such as Numpy and Scipy. This can be done using a package installer - pip which we talk about in another section.

Also, if you want to quit Python from the terminal window. Use exit() or Ctrl-D