Practical Programming in Python (TIETA19)

Posted on

General course information

NOTE: These are general information pages about the course. The active course pages (exercise tasks etc.) are hosted at WETO ( where you may login using your basic university account.

TIETA19 Practical programming in Python is a 5 ECTS course that aims to provide the participating students with basic programming skills in the Python programming language. The course concentrates on Python 3 (= the current modern Python; it is slightly different from the older Python 2).

The course is currently offered as a self-study module: You may complete the course in an independent manner on your own pace throughout the year (including summer). In order to pass the course, you need to:

  1. Enter the course “Practical Programming in Python” on the WETO server.
    • WETO allows you to self-register into this course.
  2. Complete a required amount of online programming exercise tasks on the course WETO pages.
    • See the course WETO pages for more detailed instructions.
    • The course exercises are graded in an automated manner. When you submit your code, WETO will immediately proceed to test it and give you feedback.
  3. Pass a final exam.
    • This is the only part of the course that requires you to be physically present at the university.
    • There will be roughly one exam possibility per teaching period, and one in late summer.
    • The exam will be held in a computer room and consists of similar automatically graded programming tasks as the exercise tasks.
    • You may retake the exam as many times as you want.

The course grade will be based 100% on the final exam.

About the course contents

Python is generally regarded as one of the most simple, yet powerful, generic programming languages to learn. In part due to this, the course does not have any specific background knowledge requirements. But having previous experience about programming will obviously make the course easier. Be warned that some of the course exercise tasks may feel difficult for complete programming newbies.

The automatically graded exercise tasks form the core of the course. In addition to them, the course has very little own dedicated material. The course WETO pages do contain some example code, but as far as more comprehensive teaching material is concerned, you are encouraged to use freely available Python resources on the internet. The course WETO pages provide links to some such learning resources.

The course exercise tasks seek to familiarize students with e.g the following central features of Python:

  • Basic syntax (variables, operators, conditional clauses, loops, functions, etc.).
  • Input and output, files.
  • Basic data-structures: tuples, lists, sets and dictionaries.
  • Error handling, exceptions.
  • Modules.
  • Classes, inheritance.
  • Some useful facilities offered by the Python standard library (e.g. for using JSON format, using regular expressions, etc.).