http://www.pythonchallenge.com/pc/def/oxygen.html
import re, Image i = Image.open("oxygen.png") row = [i.getpixel((x, 45)) for x in range(0, i.size[0], 7)] AS_list = [r for r, g, b, a in row if r == g == b] result = "".join(map(chr,AS_list)) print "".join(map(chr,map(int,re.findall("\d+",result))))
더보기