#输出公网ip
python3 -c "import requests;print(requests.get('http://jsonip.com/').json().get('ip'))"

 20.23.45.23

 posted on 2023-05-29 11:17  boye169  阅读(16)  评论(0)    收藏  举报