Python Как открыть файл в другом каталоге в Mac

import os
f = open (os.path.expanduser("~/Desktop/somedir/somefile.txt"))
Vast Vulture