Repository for AM/ES 111: Introduction to Scientific Computing (Harvard University, Fall 2022, Fall 2023)
We store all code examples on GitHub, which allows us to version control the code. To have your own copy of the course git repo:
-
Open your terminal and navigate to target directory
cd your_target_directory_am111
-
Clone the Git repo
git clone https://github.com/sarah1123/SciComp-F22-AM111.git
-
To access updates to the code examples use
git pull
You can also use the GitHub Desktop app to keep a local copy of the repo.
-
Python (FAS On Demand): Access Jupyter notebook via the "FAS On Demand" link in the Canvas site. You can create new notebook by clicking "New -> Python 3 (ipykernel)" (and we have pre-installed most modulues needed for the course).
-
Python (local machine): Need local Python and Jupyter installation to run notebooks. See README.md in Python tutorial for more details.
-
Python (Google Colab): Click "Open in Colab" badge on the top of each
.ipynb
notebook to run (no need to install anything for Python to run).
If you are running the notebook on Google Colab, please make a copy of the notebook to your drive:
- Click "Copy to Drive"
- Or navigate to "File -> Save a copy in Drive"
- Or navigate to "File -> Download" and save a local copy Or else your changes in the playground mode will get lost after you close the page.
- Install Git
- Git cheat sheet (You will mostly only be using
git pull
to retrieve updated files) - Install Jupyter with pip (If you already have Python3 installed and do not want to deal with additional
conda
enviroment, which gives a cleaner setup for future Python3 usage)See the README.md in Python tutorial for more details
- Install Jupyter using Anaconda and conda (The straightforward way, but your libraries are installed in
conda
environment; may encounter path/dependency issues in future)