行业知识
使用python获取电脑的公网 IP
2026-11-10 23:39:09
来源:互联网转载
python 代���:
from requests import getip = get('https://api.myip.la').textprint('My public IP address is: {}'.format(ip)) 输出结果:
上一篇:oa服务器地址怎么填?
python 代���:
from requests import getip = get('https://api.myip.la').textprint('My public IP address is: {}'.format(ip)) 输出结果:
上一篇:oa服务器地址怎么填?