Welcome to the Python tutorial by the Molecular Dynamics Group!¶
Jan Joswig (jan.joswig@fu-berlin.de)
with contributions by: Marco Manni, Bettina Keller
Note
This site is currently under construction. Please use the temporary content with care.
If you are new to Python or programming in general and you have taken an interest in Molecular Dynamics and Computational Chemistry, this site is for you. It is in particular designed for (chemistry) students who …
… attend the lecture “Molecular Dynamics” at Freie University Berlin
… want to do a research internship in the MDG group
… want to get up to speed with Python to solve their day-to-day problems
With this tutorial we basically want to make your first steps into the world of Python easier. It is not intended as a comprehensive programming course or encyclopedia. We rather want to introduce you to cherry-picked aspects of the language and useful features from the perspective of a theoretical chemist. Most importantly we try to point you to the right references where you can read up on various Python-related topics and hope we can help you to avoid a few of the common pitfalls in beginning to use Python. If you are looking for the Python course, jump right to Tutorial. You may find our advices on how to start learning Python helpful as well Hints.
- What is Python?
- How do I install Python?
- How do I use Python?
- Read more
- Tutorial
- How to work with this course
- Lesson A1 – Hello, World!
- Lesson A2 – Working with numbers
- Lesson A3 – Working with strings
- Lesson A4 – Objects
- Lesson A5 – Data containers
- Lesson A6 – Conditions
- Lesson A7 – Iterations
- Lesson A8 – Functions
- Lesson A9 – Working with files
- Lesson A10 – Plotting
- Lesson A11 – NumPy
- Lesson A12 – Logging
- Lesson A13 – Random numbers
- Template for exercise solutions
- Tutorial A1
- Tutorial A2
- Tutorial A3
- Tutorial A4
- Tutorial A5
- Tutorial A6
- Tutorial A7
- Tutorial A8
- Tutorial A9
- Tutorial A10
- Tutorial A11
- Tutorial A12
- Tutorial A13
- Tutorial A1 – Solutions
- Tutorial A2 – Solutions
- Tutorial A3 – Solutions
- Tutorial A4 – Solutions
- Tutorial A5 – Solutions
- Tutorial A6 – Solutions
- Tutorial A7 – Solutions
- Tutorial A8 – Solutions
- Tutorial A9 – Solutions
- Tutorial A10 – Solutions
- Tutorial A11 – Solutions
- Tutorial A12 – Solutions
- Tutorial A13 – Solutions
- Introduction to Molecular Dynamics simulations with OpenMM
- Molecular Dynamics exercises
- AlgoSB2021 exercises on PCA, TICA, and MSM estimation
- Hints
- Attic