COESSING 2020: Python Programming

Python labs

How to set Python up on your computer (2 options)

1. Anaconda

Download Python (via Anaconda) to your local computer. Anaconda includes the Python language, Jupyter and Spyder code editors, and many useful libraries for scientific computing.

The following documents may also be useful:

2. Google Colab

Use Google Colab to run Python and Jupyter notebooks on Google Cloud. It is a very nice resource that has python and the ipython notebook already installed and ready to go. All you need is a google account (e.g. a gmail account) and you have access to Google Colab! Below is an introductory video, and in a few days a tutorial with specific application to COESSING 2020 will be posted here as well.

If you plan to use Google Colab, I recommend going to the website colab.research.google.com and reading this page. Then, near the bottom of the page, you can click on tutorials (you will need to sign into your account in order to access some of these tutorials). I recommend going through “Overview of Colaboratory”. Several others, including “Guide to Markdown”, “Loading data”, “Charts”, and “Intro to Pandas” may be handy for this summer school, but will contain more topics than are included in this summer school.

Introductory Python tutorials

Link to walk-through files either using Jupyter notebook (on your own local computer) or a Colab notebook (using Google Colab).

Or add all materials of Python labs directly to your Google Drive via this link.

Some materials can also be found in this GitHub repository

Video walkthroughs of tutorials

In these video tutorials, you can follow along with a screencast of the walkthrough notebooks linked above. This way you can follow along and learn some nice tips along the way!

Jupyter/python tutorial:

Google Colab/python tutorial