urllib.localhost()

urllib.localhost()[source]

Return the IP address of the magic hostname ‘localhost’.