socket.sethostname(name)
Set the machine’s hostname to name. This will raise an OSError
if you don’t have enough rights.
Availability: Unix.
New in version 3.3.
socket.sethostname(name)
Set the machine’s hostname to name. This will raise an OSError
if you don’t have enough rights.
Availability: Unix.
New in version 3.3.
Please login to continue.