The best way to learn how to program is to do something useful, so this introduction to Python is built around a common scientific task: data analysis.
Our real goal isn't to teach you Python, but to teach you the basic concepts that all programming depends on. We use Python in our lessons because:
But the two most important things are to use whatever language your colleagues are using, so that you can share you work with them easily, and to use that language well.
To open iPython notebook, open a new terminal (gitbash for windows) invoke:
$ ipython notebook
~/2015-01-08-unl/unl_lessons/python/variables.ipynb
)
~/
),
otherwise, navigate to the location of your 2015-01-08-unl
folder.
~/2015-01-08-unl/unl_lessons/python/vars-types/variables.ipynb
~/2015-01-08-unl/unl_lessons/python/vars-types/excercises.ipynb
~/2015-01-08-unl/unl_lessons/python/data-structures/data-structures.ipynb
~/2015-01-08-unl/unl_lessons/python/data-structures/excercises.ipynb
~/2015-01-08-unl/unl_lessons/python/python-flowcontrol/python_flow_control.ipynb
~/2015-01-08-unl/unl_lessons/python/python-functions/python_functions_and_modules.ipynb
~/2015-01-08-unl/unl_lessons/python/numpy/numpy-short.ipynb
~/2015-01-08-unl/unl_lessons/python/pandas/an-introduction-to-pandas.ipynb
~/2015-01-08-unl/unl_lessons/python/defensive/05-defensive.ipynb
~/2015-01-08-unl/unl_lessons/python/errors/07-errors.ipynb