RosettaCodeData/Task/Hostname/Python/hostname.py
2023-07-01 13:44:08 -04:00

2 lines
42 B
Python

import socket
host = socket.gethostname()