I already found this question that suggests to use os.path.expanduser(path) to get the user\'s home directory.
os.path.expanduser(path)
I would like to achieve the same with the
from pathlib import Path downloads_path = str(Path.home() / "Downloads")