Programming in Python (FSI-VP0)

Academic year 2026/2027
Supervisor: Ing. Jan Turčínek, Ph.D.  
Supervising institute: ÚAI all courses guaranted by this institute
Teaching language: Czech
Course type: departmental course
Aims of the course unit:
 
Learning outcomes and competences:
 
Prerequisites:
 
Course contents:

This course introduces students to the basics of modern programming in Python and to the procedures for creating high-quality, clear, and maintainable code. Students will learn how to work with the development environment, versioning, and basic tools for code analysis. The course covers key elements of the language, such as data structures, functions, exceptions, generators, iterators, and the principles of object-oriented programming. It also includes the basics of graphical user interfaces, testing, program debugging, parallel processing, and application performance optimization. The course concludes with the practical use of Python for communication via REST API and gRPC and a summary of the knowledge acquired. The aim is to prepare students to independently create robust and efficient applications in Python.

Teaching methods and criteria:
 
Assesment methods and criteria linked to learning outcomes:
 
Controlled participation in lessons:
 
Type of course unit:
    Lecture  13 × 2 hrs. optionally                  
    Computer-assisted exercise  13 × 2 hrs. compulsory                  
Course curriculum:
    Lecture

1. Development environments for programming in Python, PyCharm, VSCode
2 - 3. Basics of Python, language versions, environments, principles of writing code in Python. Code structuring. Comments. Static code analysis.
4. List and Dictionary, Slicing, Key parameter, functions, arguments, and exceptions
5. Generators, map, filter, yield
6. GUI
7. OOP, class, and interface
9. Testing and debugging programs in Python
10. Parallelism and processes
11. Application robustness and performance
12. Python and REST API, grpc
13. Summary, review

    Computer-assisted exercise

1. Introduction, brief history of programming language development, introduction to Python and the PyCharm and VS Code development environments.
2. Basic commands, data types and operators, functions, modules, and classes.
3. Code structuring, comments, documentation, static analysis, and exception handling.
4. List, Dictionary, Slicing, etc.
5. Data structures, efficient search implementation.
6. Programming applications with a graphical user interface.
7. and 8. OOP.
9. Application integration in a broader ecosystem, containerization
10. XML or JSON document processing, libraries for storage and search.
11. Stream handling
12. Modern development concepts, REST API, grpc
13. Summary.

Literature - fundamental:
1. Harms, D., Macdonald, K.: Začínáme programovat v jazyce Python. Computer Press 2012, ISBN 80-7226-799-X.
Literature - recommended:
1. Scipy lecture notes [on-line 1.10.2019: http://www.scipy-lectures.org/]
2. Burris, E.: Programming in the Large with Design Patterns, Pretty Print Press, 2012
The study programmes with the given course:
Programme Study form Branch Spec. Final classification   Course-unit credits     Obligation     Level     Year     Semester  
N-AAE-P full-time study --- no specialisation -- Cr,Ex 4 Elective 2 1 S
B-MET-P full-time study --- no specialisation -- Cr,Ex 4 Elective 1 1 S
B-MET-P full-time study --- no specialisation -- Cr,Ex 4 Elective 1 2 S
B-KSI-P full-time study --- no specialisation -- Cr,Ex 4 Compulsory-optional 1 3 S
N-MET-P full-time study --- no specialisation -- Cr,Ex 4 Elective 2 1 S
B-PRP-P full-time study --- no specialisation -- Cr,Ex 4 Elective 1 1 S
B-ZSI-P full-time study STI Fundamentals of Mechanical Engineering -- Cr,Ex 4 Elective 1 1 S
C-AKR-P full-time study CLS -- Cr,Ex 4 Elective 1 1 S