Jupyter notebook intro_python_in_jupyter/Python in Jupyter Notebook a tutorial.ipynb
Interactive Python in the Jupyter Notebook
Nathan Lloyd
To be covered:
How to use Jupyter
Some really basic python programming
Some basic data analysis and plotting with pandas and matplotlib
Not to be covered:
Installing python/anaconda/etc. (we can help you offline)
Serious python programming (functions, classes, lambda functions, list comprehensions)
How to write, manage, deploy software (e.g. git)
More advanced math and science applications
But here are some links to resources for further learning:
Google's python class: https://developers.google.com/edu/python/
Harvey Mudd's free, online, at-your-own-pace course: https://www.edx.org/course/cs-all-introduction-computer-science-harveymuddx-cs005x-0#!
Data science: http://dataschool.io/
Software carpentry (kind of the next step after you just learned to write some scripts/programs): https://software-carpentry.org/
Python treasure hunt: http://www.pythonchallenge.com
What is Jupyter?
Jupyter is a notebook environment with a browser interface that can be used for interactive computing in Python and other languages (I haven't tried other languages).
From when you open (or restart) a Jupyter notebook, variable assignments, function declarations, etc are stored and updated as you go.
A "Notebook server" program needs to be running somewhere. When I'm using it on my laptop, I run it in a terminal, and access it from a browser.
Basic usage:
Type some code in a cell
Hit
<shift><enter>to execute the cellThe return value or the string representation of the last line of the cell will be output below the code.
Saving
The notebook periodically gets saved automatically, but you can also do File -> Save and Checkpoint
You can change the name by clicking on the name (I like to do "Make a copy" periodically to explicitly save older versions)