# Week 8

***Note1:** Object Oriented Programming is a difficult but powerful concept, please take your time to revise the topic!*

***Note 2:** If you want to install packages in the environment we set up during the course, you can do so by running* `%pip install`*`package_name` (notice the %-sign!) e.g.* `%pip install PrettyTable` *in one of your notebook cells after you selected the environment. This is only needed once, after that it can always be reimported with* `import`*. If it doesn't work (e.g. in Colab, try* `!pip install`*`package_name` with ! instead of %)* &#x20;

### To-Do (Until 17/12/2024) <a href="#to-do" id="to-do"></a>

Homework:

* Do days 16 and 17 of the course
* Get started with group project (see information on page **Final Project**)

***

### Totally Optional:

* **Watch lecture 8 of the Havard Python Course:**

{% embed url="<https://cs50.harvard.edu/python/2022/weeks/8/>" %}

Object Oriented Programming is not an easy concept. The video is almost three hours long!

For the best learning experience, it's recommended to watch the lecture twice: first for a quick overview, and then more slowly while taking notes. Please ensure you allocate sufficient time for this.

* **Work through the following homework assignment (short)**
  * <https://colab.research.google.com/drive/1XYmbiRmgRtK9NVm8GtSjKtE--7S2u6qQ?usp=sharing>

Always first create a copy with "Copy to Drive" or download the notebooks to work locally on them. Otherwise your progress won't be saved.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://opencampus.gitbook.io/opencampus-machine-learning-program/courses/archive/python-from-beginner-to-practitioner-24w/week-8.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
