SubjectsSubjects(version: 947)
Course, academic year 2023/2024
Programming in Python - B143008
Title: Programování v Pythonu
Guaranteed by: Department of Informatics and Chemistry (143)
Faculty: Faculty of Chemical Technology
Actual: from 2020
Semester: winter
Points: winter s.:5
E-Credits: winter s.:5
Examination process: winter s.:
Hours per week, examination: winter s.:2/2, C+Ex [HT]
Capacity: unlimited / unlimited (unknown)
Min. number of students: unlimited
Language: Czech
Teaching methods: full-time
Teaching methods: full-time
For type: Bachelor's
Guarantor: Znamenáček Jiří Ing.
Interchangeability : N500005
Annotation -
Last update: Kubová Petra Ing. (16.02.2018)
In this course students will gain knowledge of programming language Python, its datatype system and accompanying programming constructs. Text and binary data processing together with Python specific approach will be emphasized. Also information about changes between 2.x and 3.x versions of Python language will be discussed.
Aim of the course -
Last update: Kubová Petra Ing. (16.02.2018)

Thanks to Python's uniqueness students will be able to apply such diversified techniques as iterators, closures and functional constructs to name just a few. Also they will learn principles of program testing and debugging and distributed version control systems (DVCS) which are essential parts of every serious programming work.

Literature -
Last update: Kubová Petra Ing. (16.02.2018)

R: Pilgrim, Mark: Dive Into Python 3. Apress, 2009. ISBN 978-1430224150

R: Stevens, Tim J.; Boucher, Wayne: Python Programming for Biology. Cambridge University Press, 2015. ISBN 978-0-521-89583-5 (hardback), 978-0-521-72009-0 (paperback)

A: Necaise, Rance D.: Data Structures and Algorithms Using Python. John Wiley & Sons, Inc, 2011. ISBN 978-0470618295

A: Lee, Kent D.; Hubbart, Steve: Data Structures and Algorithms with Python. Springer, 2015. ISBN 978-3-319-13071-2

A: Bassi, Sebastian: Python for Bioinformatics. Chapman & Hall/CRC, 2009. ISBN 978-1-58488-929-8

Learning resources -
Last update: Kubová Petra Ing. (16.02.2018)

web pages of the course at

Requirements to the exam -
Last update: Kubová Petra Ing. (16.02.2018)

A credit: homeworks and a semestral work

An exam: a written test

Syllabus -
Last update: Kubová Petra Ing. (16.02.2018)

1. History and overview of Python.

2-4. Basic data structures and control flow tools. Exceptions.

5-6. Functions and their special role in Python.

7. Modules and their usage.

8-9. Classes. Magic methods.

10. Textual and binary input/output. Serialization of data structures.

11. User input. Subprocess handling. Foreign function interface.

12. Testing and debugging.

13-14. Selected internal and external libraries.

Registration requirements -
Last update: Kubová Petra Ing. (16.02.2018)

Basic knowladge of algorithm development and programming (such as BI-PA1 or similar) is assumed.

Course completion requirements -
Last update: Kubová Petra Ing. (16.02.2018)

A credit will be given based on home exercises and a semestral work. The exam is in the form of a written test. Each of these three course requirements contributes one third to the final classification.

Teaching methods
Activity Credits Hours
Účast na přednáškách 1 28
Příprava na přednášky, semináře, laboratoře, exkurzi nebo praxi 1.2 34
Práce na individuálním projektu 1.2 34
Příprava na zkoušku a její absolvování 0.6 16
Účast na seminářích 1 28
5 / 5 140 / 140