socket.gethostname()
Return a string containing the hostname of the machine where the Python interpreter is currently executing.
Note: gethostname()
doesn’t always return the fully qualified domain name; use getfqdn()
for that.
socket.gethostname()
Return a string containing the hostname of the machine where the Python interpreter is currently executing.
Note: gethostname()
doesn’t always return the fully qualified domain name; use getfqdn()
for that.
Please login to continue.