Python Programming for Beginners

Data

Official data in SubjectManager for the following academic year: 2024-2025

Course director

Number of hours/semester

lectures: 3 hours

practices: 9 hours

seminars: 0 hours

total of: 12 hours

Subject data

  • Code of subject: OAF-PPK-T
  • 1 kredit
  • General Medicine
  • Optional modul
  • both
Prerequisites:

OAA-MET-T finished

Exam course:

Course headcount limitations

min. 5 – max. 15

Topic

The Python programming language is one of the most widely used programming languages, which is also due to the fact that the use of the language can be easily learned even by people without programming experience. This course introduces the fundamentals of programming through the Python language, including data types, loops, functions, objects, and more. During the exercises, we review the use of the most popular modules (e.g. Numpy, Pandas, Scipy) and demonstrate their practical application through medical and psychological examples. The aim of the course is for students to be able to solve problems with the help of programming primarily in the fields of data management, statistics, data presentation and experimental design.

Lectures

  • 1. The Python programming language  - Matuz András
  • 2. Installation and modules  - Matuz András
  • 3. Basic programming concepts  - Matuz András

Practices

  • 1. Creating variables, data types and calculations  - Matuz András
  • 2. Lists and dictionaries  - Matuz András
  • 3. Built-in functions and Loops  - Matuz András
  • 4. If-statements: let's write a conversational program!  - Matuz András
  • 5. Writing simpler programs: creating unit converter, number system converter and poem generator programs  - Matuz András
  • 6. Vectors, matrices, and scientific functions (SciPy, Numpy)  - Matuz András
  • 7. Data analyis with Pandas  - Matuz András
  • 8. Programming of reaction time-based experiments (Psychopy)  - Matuz András
  • 9. Test  - Matuz András

Seminars

Reading material

Obligatory literature

Literature developed by the Department

The study material required for preparation will be posted on Neptun/TEAMS after the presentation

Notes

Recommended literature

Mark Summerfield (2009) Python 3 programozás: átfogó bevezetés a Python nyelvbe

Hall, T., & Stacey, J. P. (2010). Python 3 for absolute beginners.

Hans Petter Langtangen (2014) A Primer on Scientific Programming with Python

Conditions for acceptance of the semester

.

Mid-term exams

Written test in the last lesson (solving a programming task), homework (programming project)

Making up for missed classes

To be discussed with the instructor.

Exam topics/questions

Written test in the last class. The test can be repeated twice in the first two weeks of the exam period in order to improve the grade. Submission of project work.

Examiners

Instructor / tutor of practices and seminars

  • Matuz András