Week 3: Introduction to Python

In the two Python sessions, we will start to program in Python and explore the CoLRev Python package. You do not have to bring prior experience with Python, but we assume that you are familiar with an object-orient programming language (like Java or C).

In the Python sessions, you might find the material either very straightforward or in need of more explanation and examples for practice. We have prepared for both scenarios: for those who finish early, there are optional ‘Challenge’ tasks included in the notebooks. These aren’t mandatory but can help you start thinking about your upcoming project work. If you have any questions during or after the sessions, we’re here to assist. We’ve also provided additional resources for further practice.

In the two sessions, our goals are to

  • Familiarize with the Python syntax
  • Understand how to use other Python modules and libraries
  • Prepare for extending the functionality of the CoLRev package
Materials Link
Slides session 1 View Slides Part 1 View PDF Slides
Notebook session 1 Open Notebook in Codespaces
Python session 2 View Slides Part 2 View PDF Slides
Notebook session 2 Open Notebook in Codespaces

After you have used CoLRev in the last notebook, it is instructive to create a project and run through the operations to understand how CoLRev works. To do this, we recommend starting a Codespace from the fork of your group. You will also need to create a separate project directory in the Codespace (as explained in the notebooks). Try to run the operations presented in the asciinema recording in the CoLRev documentation and analyze how the data in the project (Git) repository changes.

tasks logoContribute code to a fork, create branches and synchronize with upstream (deadline).