Introduction to Python & BioPython

Course Home Page

Before you start the course, you should ensure that you have download and install python and biopython package. In order to use biopython, you should also install mxTextTools, C Compiler and Numeric Python.

This is a generic version of a class "Computer Programming for Information Management" that I taught at the School of Life Science & Biotechnology, Shanghai Jiaotong University. The materials in this course are mostly self-explanatory and can be used for self study.


Download and Install Python.

shell> tar xzvf Python-2.6.2.tgz
shell> ln -s Python-2.6.2 python
shell> cd python
shell> ./configure
shell> make
shell> make install
shell> python

Week 1. Programming basics

  • Lecture Exercises Answers

    Week 2. Operators and if statements

  • Lecture Exercises Answers

    Week 3. Logical expressions and Objects

  • Lecture Exercises Answers

    Week 4. Program design and control structures

  • Lecture Exercises Answers

    Week 5. Lists, Dictionaries and File handling

  • Lecture Exercises Answers

    Week 6. CGI I

  • Lecture Exercises Answers

    Week 7. Regular expressions I

  • Lecture Exercises Answers

    Week 8. Regular expressions II

  • Lecture Exercises Answers

    Week 9. CGI II: Environment Variables and Security

  • Lecture Exercises Answers

    Week 10. Programming in the large

  • Lecture Exercises Answers

    Week 11. CGI III: Cookies and Hidden Text

  • Lecture Exercises Answers

    Week 12. A Python networking client

  • Lecture Exercises Answers

    Week 13 The object oriented paradigm

  • Lecture Exercises Answers

    Week 14 biopython

  • Lecture Exercises Answers

  • Copyright 2007, SJTU