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.
Designed by : w10schools
service@w10schools.com
Please login to continue.