Course detail
Programming in Python
FSI-TPYAcad. year: 2024/2025
This course covers the basics of the Python programming language, with a focus on its practical applications in engineering.
Language of instruction
Czech
Number of ECTS credits
2
Mode of study
Not applicable.
Guarantor
Department
Entry knowledge
Basic computer literacy at a high school level is assumed.
Rules for evaluation and completion of the course
Attendance at lectures is encouraged, and participation in exercises is mandatory. Classes follow a weekly schedule, and credit is awarded based on completing a script simulating a simple physics task.
Aims
The goal is to develop proficiency in using Python for engineering practice.
Study aids
Not applicable.
Prerequisites and corequisites
Not applicable.
Basic literature
Pilgrim Mark, Ponořme se do Python(u) 3, CZ.NIC, 2012 (CS)
Summerfeld Mark, Python 3, výukový kurz, Computer Press, 2021. (CS)
Summerfeld Mark, Python 3, výukový kurz, Computer Press, 2021. (CS)
Recommended reading
Not applicable.
Elearning
eLearning: currently opened course
Classification of course in study plans
Type of course unit
Lecture
26 hod., optionally
Teacher / Lecturer
Syllabus
- Introduction to Python
- Version control with Git
- Lists, tuples, dictionaries
- Numpy for vectors and matrices, matrix operations, and index expressions
- Control structures
- Matplotlib for plotting points, curves, surfaces, and data plots
- Input and output of data, including working with text and regular expressions
- Functions, including built-in and user-defined functions, parameter types, and recursion
- Numerical derivation, integration, and ODR solutions
- Introduction to object-oriented programming
- Application of the object-oriented approach to solving n-body problems
- Optimization tasks
- Overview of Python packages
Computer-assisted exercise
13 hod., compulsory
Teacher / Lecturer
Syllabus
- Installing Python - Anaconda and ChatGPT
- Version control using GitHub
- Lists, tuples, dictionaries
- Numpy for vectors and matrices, matrix operations, and index expressions
- Control structures
- Matplotlib for plotting points, curves, surfaces, and data plots
- Input and output of data, including working with text and regular expressions
- Functions, including built-in and user-defined functions, parameter types, and recursion
- Numerical derivation, integration, and ODR solutions
- Application of the object-oriented approach to solving n-body problems
- Optimization tasks
- Semester project
- Submission of semester project
Elearning
eLearning: currently opened course