Scripting with Bash and Python - 2011

From Sccswiki
Jump to navigation Jump to search


The compact course on scripting in Bash and Python will take place from

  • May 2-13, 9:30-13:30 (including breaks).

We will have 4 days of Bash, and 5 days of Python. In the first week, there will be no course on Thursday.

The course consists of lecturing parts (roughly 9:30-11:30) and tutorials to (roughly 11:30-13:30) allow you to practice what you've learned. If you have any questions, don't hesitate to contact me.

Dr. Dirk Pflüger

In the following, you can find the course materials and additional information:


  • There will be no course on Thursday, May 5!
  • We will start Python on Monday in the second week.


As the course is rather interactive, please bring your laptop (preferably with Linux). You can then just try things out and practice right away.

For Bash

  • Bash as shell (*1)
  • Collection of standard tools
  • gnuplot
  • If you are using Windows, we recommend to install cygwin full/extended

For Python

  • Python 2.6, as not all packages have been ported to Python 3.X (*1)
  • Packages:
    • Scipy (which should include IPython as interactive Python shell; if not, get IPython); see [1]
    • PyLab/Matplotlib
  • Gnuplot

(*1): Required for the first day each.


  • The slides up to the current date printable 2x4 *Bash* *Python*


Other Files

  • story.tgz: Sample folder and sample text files
  • sed_example.txt: well commented step-by-step instruction for a sed replacement task