89ou 发表于 2017-4-24 11:27:52

Python Challenge (level 7)

URI: http://www.pythonchallenge.com/pc/def/oxygen.html
说明:
PNG文件有一条不寻常的灰色条,答案就隐藏在里面
这题要用 Python Imaging Library (PIL)的Image模块http://www.pythonware.com/products/pil/
解题方法:

import re, Image
i = Image.open("oxygen.png") # http://www.pythonchallenge.com/pc/def/oxygen.png
row = , 7)]
ords =
print "".join(map(chr, map(int, re.findall("\d+", "".join(map(chr, ords))))))


过关答案:
integrity
页: [1]
查看完整版本: Python Challenge (level 7)