Download (right-click, save target as ...) this page as a jupyterlab notebook from:

Laboratory 0


Submitting your laboratory.

Replace the missing items below

LAST NAME, FIRST NAME

R00000000

ENGR 1330 Laboratory 0

then

Laboratory 0: Yes, That's how we count in python!

Counting, is our most fundamental arithmetic construct. Where it start matters.

At Harvard they start at (0) zero https://www.youtube.com/watch?v=jjqgP9dpD1k&t=12s, at MIT they start at (1) one https://www.youtube.com/watch?v=3zTO3LEY-cM, and the rest of us are a bit (pun intended) confused!

Well python developers decided to start at Zero, hence laboratory 0 - our beginning.

Our goal is to get a working JupyterLab/Notebook environment on your laptop.

This "document" is a Jupyter Notebook; the medium that we will be using throughout the semester.


How do you get here?

We suggest, recommend (demand?) you install Anaconda on your laptop. The remainder of this lab meeting is to get your Anaconda install started and maybe even completed. If you started before lab, you may be in good shape.


There are online services that allow you create, modify, and export Jupyter notebooks. However, to have this on your local machines (computers), you can install Anaconda. Anaconda is a package of different software suites/launchers including "Jupyter Notebook".

You can find videos on how to install Anaconda on your devices on BlackBoard:

MacOS and Windows are x86-64 architecture. Chromebooks, Apple M1/M2, Raspberry Pi are arm64 architecture


To Download A Visual Guide On Installing ANACONDA ,right-click, and download (save) this file:

ANACONDA Install Help


Lab Exercise 1

The classic hello world script!

Lab Exercise 2

Identify the cell types below:

I am what kind of cell?

# I am what kind of cell?

Readings

Driscoll, M. (2021) Jupyter Notebook: An Introduction, https://realpython.com/jupyter-notebook-introduction/