how to get your location in python code example Example: how to get location using python import os os.system('echo $PWD')