Python Como abrir um arquivo em um diretório diferente no Mac

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