📜  根据电话号码获取ip地址python代码示例

📅  最后修改于: 2022-03-11 14:46:42.208000             🧑  作者: Mango

代码示例3
import socket    
host = socket.getfqdn()    
addr = socket.gethostbyname(host)
print(f"Your ip is {addr}")