Python for Scientists
=====================
These are the lecture notes for a Python: Programming for Scientists
course that was given at the University of Heidelberg by Thomas
Robitaille between 2012 and 2015. The notes are licensed under the
`Attribution Non-Commercial Share-Alike Creative Commons License
`_.
Lecture Notes
-------------
Monday
^^^^^^
**Download Notebooks:** `tar file <_static/py4sci_mon.tgz>`__ - `zip file <_static/py4sci_mon.zip>`__
* `What is Python? <_static/01.%20What%20is%20Python.html>`_
* `Running Python code <_static/02.%20How%20to%20run%20Python%20code.html>`_
* `Using the IPython notebook <_static/03.%20Using%20the%20IPython%20notebook.html>`_
* `Numbers, Strings, and Lists <_static/04.%20Numbers%2C%20String%2C%20and%20Lists.html>`_
* `Booleans, Tuples, and Dictionaries <_static/05.%20Booleans%2C%20Tuples%2C%20and%2C%20Dictionaries.html>`_
* `Control Flow <_static/06.%20Control%20Flow.html>`_
* Practice: `Simple Cryptography <_static/Practice%20Problem%20-%20Cryptography.html>`_ (`solution <_static/Practice%20Problem%20-%20Cryptography%20-%20Sample%20Solution.html>`__)
* `Exercise solutions <_static/Monday%20Exercise%20Solutions.html>`__ (updated during course)
Tuesday
^^^^^^^
**Download Notebooks:** `tar file <_static/py4sci_tue.tgz>`__ - `zip file <_static/py4sci_tue.zip>`__
* `Functions <_static/07.%20Functions.html>`_
* `Reading and Writing files <_static/08.%20Reading%20and%20writing%20files.html>`_
* `Modules and Variable Scope <_static/09.%20Modules%20and%20Variable%20Scope.html>`_
* Practice: `Temperature statistics <_static/Practice%20Problem%20-%20Temperatures.html>`_ (`solution <_static/Practice%20Problem%20-%20Temperatures%20-%20Sample%20Solution.html>`__)
* `Problem Set 1 <_static/Problem%20Set%201.html>`_ (due Wednesday 30th September at 19:00)
* `Exercise solutions <_static/Tuesday%20Exercise%20Solutions.html>`__ (updated during course)
Wednesday
^^^^^^^^^
**Download Notebooks:** `tar file <_static/py4sci_wed.tgz>`__ - `zip file <_static/py4sci_wed.zip>`__
* `Introduction to Numpy <_static/10.%20Introduction%20to%20Numpy.html>`_
* `Introduction to Matplotlib <_static/11.%20Introduction%20to%20Matplotlib.html>`_
* `Files and paths <_static/12.%20Files%20and%20paths.html>`_
* `String formatting <_static/13.%20String%20Formatting.html>`_
* Practice: `Monte-Carlo Error Propagation <_static/Practice%20Problem%20-%20Monte-Carlo%20Error%20Propagation.html>`_ (`solution <_static/Practice%20Problem%20-%20Monte-Carlo%20Error%20Propagation%20-%20Sample%20Solution.html>`__)
* `Problem Set 2 <_static/Problem%20Set%202.html>`_ (due Friday 2nd October at 19:00)
* `Exercise solutions <_static/Wednesday%20Exercise%20Solutions.html>`__ (updated during course)
Thursday
^^^^^^^^
**Download Notebooks:** `tar file <_static/py4sci_thu.tgz>`__ - `zip file <_static/py4sci_thu.zip>`__
* `Python variables - behind the scenes <_static/14.%20Python%20variables%20-%20benind%20the%20scenes.html>`_
* `Introduction to Scipy: Fitting data <_static/15.%20Fitting%20models%20to%20data.html>`_
* `Introduction to Scipy: Interpolation and Integration <_static/16.%20Interpolation%20and%20Integration.html>`_
* `Understanding Python Errors <_static/17.%20Understanding%20Python%20errors.html>`_
* Practice: `Radioactive Decay <_static/Practice%20Problem%20-%20Radioactive%20Decay.html>`_ (`solution <_static/Practice%20Problem%20-%20Radioactive%20Decay%20-%20Sample%20Solution.html>`__)
* `Problem Set 3 <_static/Problem%20Set%203.html>`_ (due Friday 9th October at 19:00)
* `Exercise solutions <_static/Thursday%20Exercise%20Solutions.html>`__ (updated during course)
Friday
^^^^^^
**Download Notebooks:** `tar file <_static/py4sci_fri.tgz>`__ - `zip file <_static/py4sci_fri.zip>`__
* `Accessing remote resources <_static/18.%20Accessing%20remote%20resources.html>`_
* `Object-oriented programming <_static/19.%20Object-oriented%20programming.html>`_
* Practice: `Map of temperatures <_static/Practice%20Problem%20-%20Map%20of%20temperatures%20over%20Germany.html>`_ (`solution <_static/Practice%20Problem%20-%20Map%20of%20Temperatures%20over%20Germany%20-%20Sample%20Solution.html>`__)
* `Exercise solutions <_static/Friday%20Exercise%20Solutions.html>`__ (updated during course)
Beyond the course
^^^^^^^^^^^^^^^^^
* Evaluate your Python skills: `CodeEval `_
* Bioinformatics Python problems: `Rosalind `_