- 博客(3)
- 资源 (5)
- 收藏
- 关注
原创 python检查HTML的标签完整性
工作中遇到解析HTML的问题,因为对HTML的完整性要求较高,虽然BeautifulSoup也有自动对HTML进行检查修复,但位置好像不怎么准确,因为此方面经验有限,没有找到相应的办法,自己实现了一段代码,用于检查HTML的标签完整性,代码如下:#coding:utf-8'''Created on 2013-1-28 html代码补全 "xxx"正常 ""正常 "xxx"异常-没有
2013-01-30 16:46:13 4628
原创 python 安装 遇到 ImportError: No module named _struct
在pythonbrew下安装python2.7.3报ImportError: No module named _struct错误直接安装报同样错误检查PYTHONHOME,发现PYTHONHOME被指为greenplum的路径,注释掉PYTHONHOME,再次安装,完成
2013-01-21 10:31:22 12120 2
原创 PIL安装
在公司项目中遇到安装PIL后出现raise ImportError("The _imagingft C module is not installed")的错误经同事排查用以下方法解决yum -y install libjpeg-devel安装freetype2下载 http://sourceforge.net/projects/freetype/files/
2013-01-06 14:40:14 2930
机器学习pdf打包
2018-03-27
building_reactive_microservices_in_java
2018-03-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人