#-*- coding:utf-8 -*-
#代码版本均为python 3.5.1
#Level 7 from PIL import Image x_begin, x_end = 0, 609
y_begin, y_end = 43, 53 image = Image.open("oxygen.png") data = [chr(image.getpixel((i, 43))[0]) for i in range(0, 609, 7)]
#im.getpixel((x, y)) 得到某个像素点的颜色,一般返回(r, g, b) print ("".join(data)) msg = [105, 110, 116, 101, 103, 114, 105, 116, 121]
print (''.join([chr(i) for i in msg]))
下一关地址
http://www.pythonchallenge.com/pc/def/integrity.html