Installing Anaconda 3.7 on Mac – Python Programming

I think I already have installed Python 3.7, but this is a more comprehensive package of various tools. The objective is to learn more about Data Analysis, using this popular programming language.

Downloaded the 64-bit Graphical Installer for MacOS – https://www.anaconda.com/products/individual

Some additional links for learning
Quick Start Guide – https://docs.anaconda.com/anaconda/user-guide/
Anaconda Individual Edition Tutorial – https://get.anaconda.com/distribution/tutorial/
Anaconda Cloud Edition – https://anaconda.org/
Learn more about Anaconda – https://www.anaconda.com/distribution/success/

When I went to Terminal, and entered Python, it returned this (which tells me that I’m running the Anaconda version that I just installed
Python 3.7.6 (default, Jan 8 2020, 13:42:34)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin

To confirm various packages are installed, I enter:
import numpy
import pandas
import matplotlib

Based on not getting any response — that’s good news

Within Applications, I have Anaconda Navigator. Within that are a bunch of things – JupyterLab, Juypter Notebook, Qt Console, Spyder, Glueviz, Orange3, RStudio.

Jupyter Notebook is a comprehensive all-in-one that allows you to write, document, test, present code.

Ran the Anaconda Application (from Applications) – can’t get this on dock for some reason. Select Jupyter Notebook. New, Python3.
print(“Hello”) – and then, Shift-Enter.

I can modify what I had entered – eg. print(“Hello Paul”) and do another Shift-Enter

Note: I remember seeing Jupyter Notebook with SAS University. What’s good is that I now have direct access on the Mac and don’t need to open my VirtualBox VM for SAS University.

Adding to the code with:
for letter in “Hello, Paul”:
print(letter)

Note: I had received an error – -it is “in”
This writes the string vertically

Markdown (Basic Formatting – bold, italic, bullet points, hyperlinks and math formulas) – cells can contain text and code
From menu — Cell, Markdown

This is interesting:
I can write **documentation** in https://daringfireball.net/markdown
* A Formula: $\sqrt(1 + x) $

Comes back all formatted including the formula

Various shortcut keys available

Full documentation in jupyter.org

About Paul

CERT Coordinator, Ham Radio Operator, GTD Fan; Photographer; Domino/Notes Administrator
This entry was posted in Python. Bookmark the permalink.