pythonchallenge 解谜 Level 7

 #-*- 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
上一篇:linux文件压缩与打包


下一篇:Django~Views