Introduction to Python for Physicists and Engineers, 5 credits

Academic year 2021/2022

  • Summer 2021, 100%, Distance learning

    Start date: 14 June 2021

    End date: 9 July 2021

    Application deadline: 15 March 2021

    Application code: UU-63110 Application

    Language of instruction: The course will be taught in English, if needed

    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: 0

    Number of voluntary meetings: 0

Entry requirements: 120 credits in science/engineering with mechanics, thermodynamics and electromagnetism. English language proficiency that corresponds to English studies at upper secondary (high school) level in Sweden ("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

Telephone: 018-471 5952

Study Counsellor


Telephone: +46 18 471 35 21