pathlib home and cwd Two nice methods to get the home + current working directories: >>> from pathlib import Path >>> Path.cwd() PosixPath('/Users/bbelderbos/Dropbox/bobcodesit') >>> Path.home() PosixPath('/Users/bbelderbos') #pathlib