Introduction to Python for Physicists and Engineers, 5 credits

Academic year 2022/2023

  • Summer 2022, 50%, Distance learning

    Start date: 13 June 2022

    End date: 24 July 2022

    Application deadline: 15 March 2022

    Application code: UU-63120 Application

    Language of instruction: English

    Location: Flexible

    Selection: Higher education credits in science and engineering (maximum 240 credits)

    Outline for distance course: Communication between teachers and students is done using the learning management system and e-meeting tools. A computer with a stable internet connection and webcam is required.

    Number of mandatory meetings on campus: 0

    Number of voluntary meetings on campus: 0

    Registration: 12 May 2022 – 12 June 2022

Entry requirements: 120 credits in science/engineering with mechanics, thermodynamics and electromagnetism. Proficiency in English equivalent to the Swedish upper secondary course English 6.


If you are not a citizen of a European Union (EU) or European Economic Area (EEA) country, or Switzerland, you are required to pay application or tuition fees. Formal exchange students will be exempted from tuition fees, as well as the application fee. Read more about fees.

Application fee: SEK 900

Tuition fee, first semester: SEK 12,083

Tuition fee, total: SEK 12,083

About the course

The course will give an introduction to programming in Python and programming related problem solving.

Introduction to Python: Installation, NumPy, SciPy, Matplotlib, Spyder.

Components of Python: Variables (integers, floats, strings, Booleans, complex).Containers (lists, dictionaries, arrays). Operators. Input/output (open, read, write, append, print). Programming structure (indentation, if, while, for, else, try). Functions. Programming. Numeric integration. Solutions of non-linear equations. Approximation of data. Least squares approximation. Graphic presentation. Problem solving: division into smaller subproblems, implementation in Python.

Applications will be taken from physics, for example classical mechanics, electrodynamics, thermodynamics and related subject areas in engineering.

More information


Department of Physics and Astronomy

Ångströmlaboratoriet, Lägerhyddsvägen 1

Box 516, 751 20 UPPSALA

Study counsellor


Telephone: +46 18 471 35 21