cachereader.py
来自「网络蜘蛛」· Python 代码 · 共 21 行
PY
21 行
"""Utility to print a human readable version
of HarvestMan cache file
Author: Anand B Pillai
Copyright (C) 2004 - 2005: Anand B Pillai
This file is part of HarvestMan package.
"""
import zlib
def uncompresscache(cachefile):
return zlib.decompress(open(cachefile, 'rb').read())
if __name__=="__main__":
import sys
if len(sys.argv)<2:
sys.exit("Usage: cachereader.py <harvestman cache file>")
print uncompresscache(sys.argv[1])
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?