V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
asfdasf32
V2EX  ›  Python

Python 下对两个 json 格式文件对比有什么方法吗?

  •  
  •   asfdasf32 · Apr 25, 2018 · 4086 views
    This topic created in 2932 days ago, the information mentioned may be changed or developed.

    比如我扫描端口上一次扫到 80,这次没有扫描到,怎么对比 json 文件从而找出区别点

    4 replies    2018-04-26 14:14:34 +08:00
    MeteorCat
        1
    MeteorCat  
       Apr 25, 2018
    不限制 python ?`diff file1 fies2` 这样可以吗?
    Droi
        2
    Droi  
       Apr 25, 2018
    把 json 转成 python 的 dict
    PyTx
        3
    PyTx  
       Apr 25, 2018
    jennifertxwoodma
        4
    jennifertxwoodma  
       Apr 26, 2018
    可以之间用 diff
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2816 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 12:54 · PVG 20:54 · LAX 05:54 · JFK 08:54
    ♥ Do have faith in what you're doing.