hostname property

hostname property

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

Definition:

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

See Also