Logo webu
Are you interested in studying at Unicorn University? Sign up for an open day and find out more.

Programming essentials

6 ECTS
Bachelor
Czech
Kateřina Gawthorpe
The aim of the course is to introduce students to the basics of the Python programming language so that they can build on this knowledge in other courses where Python is used for data processing and visualization. The course focuses on both the theoretical and practical aspects of programming, including the advantages and disadvantages of using Python in different contexts. By the end of the course, students will be able to independently create complex programs and understand the basic principles of object-oriented programming (OOP).

Course outline

Introduction to the language
Placement in the context of other programming languages, history, domain of use, PEP.
Interpretation vs. compilation
Development environments, installation of interpreter and virtual environments, first program, syntax orientation.
Basic data types
Mutability and immutability, numeric data types, integer vs. floating point numbers and their specifics in Python, logical type, collections and sequences (list, tuple, dictionary), formatted output.
Conditions and logical expressions
Cycles and iterations, functions, more complex signatures, anonymous functions
Typing
Python as a dynamically typed language, type hints, docstring, custom data types, match vs. the familiar switch construct.
Exceptions
Exception handling mechanism.
Loading from a file
Context manager and with statement, loading from common file formats, useful and commonly used packages (os, sys, pathlib, datetime, logging).
Introduction of OOP
Introduction of basic concepts, class vs. instance attributes, instance vs. class vs. static methods, magic methods, encapsulation, inheritance, abstract classes, virtual methods, abstract methods.
document_check.svg
We use cookies on this website to ensure its functionality and to personalise ads, solely with your consent and in accordance with our Cookies Policy.

By clicking on the "Accept cookies" button, you consent to the use of selected cookies and agree to the transfer of behavioural data for the display of targeted advertising on social and advertising networks. You can choose which information you want to share with us by clicking on the Cookie settings button.