Prerequisites

Be prepared

As prerequisites for the course, we recommend that you have a look at the following resources:

  • Please have a look at the SciLifeLab Data-Driven Life Science (DDLS) initiative website to understand what data-driven life sciences are, and how Sweden is investing in this area. Focus in particular on the concept of the data life cycle, which is central in this class.
  • We will use Python as the main programming language in the computer lab, so please make sure you know the basics of Python. See the Python introduction material below for more information.

For the computer lab, you will need a computer with internet access, and make sure you have the following set up:

  • Install the latest browser, e.g. Chrome
  • Register a Google account for the Google Colab access and use the Google Drive
  • Register a ChatGPT account (Note: No need to subscribe to the paid version of ChatGPT, using the free version is sufficient for this course)
  • Register a Github account for versioning of the code

Build a foundation in Python

As a warn up, please make sure you are comfortable with coding in Python. If not, this section will show you the basics of Python.

To help you get a head start, we’ve prepared a set of useful ChatGPT prompts designed to assist you in learning basic Python operations. Mastering these operations will be crucial throughout the course.

What You Need to Do

1. Review the ChatGPT Prompts: Access the prompts and see how they can be used to learn Python basics by visiting Learn Python with ChatGPT.

2. Complete the Practice: Use the prompts to complete the practice exercises. This will help you become familiar with essential Python operations.

3. Upload Your Chat History: Once you have completed the practice, save your chat history.

4. Submit Your Work: Upload the saved chat history using this Google Form.

Submission Requirements

  • What to Submit: Your completed ChatGPT chat history file.

  • Deadline: The deadline for submission is August 27th, as students need to upload the form before the first computer lab on August 28th.

  • Mandatory Participation: This assignment is required for all students.

Additional Information

  • Alternative for Advanced Students: If you already have expertise in Python, you may opt to take a proficiency test instead of completing the tutorial. But you still need to upload your chat history.

By following these steps, you’ll ensure you’re well-prepared for the course. If you have any questions or need further assistance, feel free to reach out.

If you prefer to learn Python in a more traditional way

Here you can find the basics of Python:

You can also run the notebook in Jupyter Lite:


If you are new to programming, we recommend that you complete the following course video:

Quiz

What is the difference between lists and tuples?

Lists

  • Lists are mutable - they can be changed
  • Slower than tuples
  • Syntax: a_list = [1, 2.0, 'Hello world']

Tuples

  • Tuples are immutable - they can’t be changed
  • Tuples are faster than lists
  • Syntax: a_tuple = (1, 2.0, 'Hello world')

Is Python case-sensitive?

Yes