六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 161|回复: 0

Python Challenge (level 2)

[复制链接]

升级  62%

120

主题

120

主题

120

主题

举人

Rank: 3Rank: 3

积分
386
 楼主| 发表于 2013-2-7 19:39:10 | 显示全部楼层 |阅读模式
URI: http://www.pythonchallenge.com/pc/def/ocr.html




说明:
图画中出现一本很模糊的书,但真正的答案要从页面的源代码中找
提示1:recognize the characters. maybe they are in the book, but MAYBE they are in the page source.
提示2:find rare characters in the mess

解题方法:
import redata = ''' ''' #三引号中填入页面的数据         print "".join(re.findall("[A-Za-z]", data))

过关答案:
equality
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表