Wrapping up

There's a ton of little details and options when it comes to writing Python classes in Rust. We've covered the key concepts and most common use cases, but make sure to check out the official pyo3 documentation whenever you need more information about a specific feature (e.g. how do I declare a class to be frozen? How do I make my class iterable?).

Let's take a moment to reflect on what we've learned so far with one last exercise.

Exercise

The exercise for this section is located in 02_classes/07_outro