pathname property

pathname property

Returns the Location object’s URL’s path. Can be set, to navigate to the same URL with a changed path.

Definition:

@property
def pathname(self):
    ...
@pathname.setter
def pathname(self, value):
    ...

See Also