from voussoirkit import networktools print(networktools.get_external_ip())