【python challenge】level2
来源:互联网 发布:淘宝运营视频 编辑:程序博客网 时间:2024/06/08 11:14
__author__ = 'user'# -*- coding:utf-8 -*-import requestsimport urllib2import redef enchar(): url = 'http://www.pythonchallenge.com/pc/def/ocr.html' request = urllib2.Request(url) respnose = urllib2.urlopen(request) pagecode = respnose.read().decode('utf-8') print pagecode pattern = re.compile('[a-zA-Z]+') items = re.findall(pattern,pagecode) print itemsenchar()
0 0
- python challenge level2
- 【python challenge】level2
- 【python challenge】Level2
- python challenge
- Python Challenge
- Python Challenge
- python challenge
- Python Challenge
- Python challenge
- python challenge
- Python Challenge
- Lua Challenge -- From Python Challenge
- Python Challenge 谜题0
- Python Challenge 谜题1
- Python Challenge 谜题2
- Python Challenge 谜题3
- Python Challenge 谜题4
- python challenge 4-6
- java后台对前端输入的特殊字符进行转义
- SpringMVC 使用JSR-303进行校验 @Valid
- File对象功能-文件列表
- fork(2), stdio 行/块缓冲区,子进程为何输出fork()之前的东西
- 数组的基本属性
- 【python challenge】level2
- windows,android.ios下bt下载组件
- 2016图灵机器人创新大会邀你共同见证
- RPC框架碎碎念
- java动态代理模式(jdk和cglib)
- 威佐夫博弈
- Linux下配置Java开发环境详述
- bzoj1056(挖个坑wa+tle,平衡树)
- iOS 中的单例模式