python os.path.dirname()

NoSuchKey