Python programming I+II
The purpose of this course is to teach general programming concepts using the Python language as an instruction tool.
Instructor: András Aszódi.
TopicsThe course consists of two parts that are taught on different dates.
In the first part we learn the basics of Python programming.
- Introduction to Python: basic principles.
- Python data structures: strings, tuples, lists, dictionaries, sets.
- Object-oriented programming: how to model coffee machines in Python. Inheritance (base and derived classes), polymorphism.
The second part teaches you how to design, develop and test object-oriented code in Python.
- Write a Python class using test-driven development techniques.
- Write a script to convert BED files to GFF. Command-line option processing, file input-output, error handling.
Out of scope
Data analysis of any kind. Also note that this course is about Python3, the "old" Python2 is not covered.
Good typing skills are essential because the course involves writing quite a lot of code.
Number of participants: minimum 5, maximum 10.
Length: Both Part I and Part II take two half-days (4 hours) each, i.e. four half-days (16 hours) in total.