As above. I made this attempt below but it throws an error: I don\'t know how to mutate self to get what I want.
self
from pathlib import Path class