Python materials, originally developed at Summer Informatics School.
A digest of PEP8 (pdf) containing only features necessary for beginners.
Cheet sheet on python file IO (pdf).
A set of Jupyter notebooks for a starter course of Python. You'll need to install Jupyter for that:
sudo apt install python3-pip
sudo pip3 install --upgrade jupyter
To edit:
jupyter-notebook crash-course/variables-and-expressions.ipynb
Or just jupyter-notebook
in the directory.
To have an awesome preview install an extension:
sudo pip3 install --upgrade jupyter_contrib_nbextensions jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
jupyter-nbextension enable toc2/main
jupyter-nbextension enable printview/main
mkdir -p ~/.jupyter/custom && cp custom/custom.css ~/.jupyter/custom/
Enter
to enter edit modeCtrl-Enter
to exit edit mode to command mode
In command mode:
A
: insert cell aboveB
: insert cell belowY
: change cell to codeM
: change cell to markdown1
: change cell to heading 12
: change cell to heading 2