推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
csdreamdong
V2EX  ›  Python

python 有没有获取,所在网络环境的出口 ip(公网的)的包?, shell 脚本也行。

  •  
  •   csdreamdong · Jul 28, 2016 · 4617 views
    This topic created in 3712 days ago, the information mentioned may be changed or developed.
    4 replies  •  2016-07-29 18:14:21 +08:00
    eailfly
        1
    eailfly  
       Jul 28, 2016
    有很多 api 可以用啊,比如
    curl http://httpbin.org/ip
    CloudnuY
        2
    CloudnuY  
       Jul 28, 2016
    20150517
        3
    20150517  
       Jul 29, 2016 via Android
    Ipinfo.io 返回一个 json ,里面有你公网 ip 和位置
    roadli
        4
    roadli  
       Jul 29, 2016
    curl ip.cn
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   937 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 18:51 · PVG 02:51 · LAX 11:51 · JFK 14:51
    ♥ Do have faith in what you're doing.