Course calendar

Date Lectures Exercises Remarks
25/10 Introduction to Python, string formatting, if/else, ..
Deitel: chapter 2.
Number guessing, Treasure hunt, Floats,
Deitel: Ex. 2.4, 2.5, 2.7
Note on program names
26/10 Control structures, if/else, while, functions, ..
Deitel: chapter 3, and sections 4.1 - 4.5.
Right triangles, Codon translation, GCD function, Class averages,
Deitel: Ex. 3.3, 3.4, 3.8, 3.6, 3.7, 3.5
1/11 Namespaces, importing modules, default arguments, ..
Deitel: chapter 4
Codon translation 2, Cheating dice,
Deitel: Ex. 4.3, 4.4, 4.5, 4.6, 4.8
Writing functions

Importing modules

2/11 Lists, tuples, dictionaries ..
Deitel: chapter 5
List min/max, Counting characters, Character table,
Deitel: Ex. 5.3, 5.5, 5.6, 5.8
8/11

Objects and classes.
Deitel: chapter 7.
Tournament, String analyzer,
Deitel: Ex. 7.3, 7.4, 7.5, 7.6, 7.7.
9/11

Exceptions, reading/writing files, ..
Deitel: Sections 12.1 - 12.4, 12.6, and chapter 14.
File scrambler, Codon translation 3, Unsuccesful load/save, CD extensions,
15/11

String functions, regular expressions.
Deitel: Sections 13.1 - 13.8.
Censorship, Trypsin, Fasta file, Microsatellites,
Deitel: Ex. 13.3, 13.5 (Use \. to recognize a decimal point).
16/11

Regular expressions.
Deitel: Rest of chapter 13.
Regular expressions, Regular expressions 2, Microsatellites 2, Codon translation 4,
Deitel: Ex. 13.7, 13.8, 13.6 (Assume you receive valid html. Test your solution on this html code).
22/11

Parsing and recursive data structures
Nothing to read.
TTT markers, Chicken repeats, DNA fingerprinting, Alternative spelling,Random adjectives and spell check, Basic Emacs commands
23/11

Filters.
Nothing to read.
Isequence load/save methods, Depth-first search, Node depth, Phylogeny search, Phylogeny construction
29/11

Introduction to XML part I.
Deitel: Sections 15.1 - 15.5 and the essentials of 16.1 - 16.4.
XML, New XML sequence format, Phylogeny/XML, Breadth-first search, Phylogeny node info
30/11

Introduction to XML part II.

NCBI lookup, Newick, Leaf counting, Node depth 2, Genealogy Mandatory project
6/12

Drawing trees, os and os.path modules
ANONYMOUS COURSE EVALUATION, Phylogeny drawing, General tree drawing Please give your opinion about this couse
7/12

Joker
Prisoner's dilemma
Week 51

No lectures. Perhaps a beer.
Project questions.
Prisoner's Dilemma tournament.
Any challengers for a game of Torleif?