V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
yakczh
V2EX  ›  Python

http://code.google.com/p/table-parser/ 这个模块有办法用 easy_install 安装吗?

  •  
  •   yakczh · 2014-04-26 14:04:20 +08:00 · 2596 次点击
    这是一个创建于 3661 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用了 easy_install提示Couldn't find index page for 'table-parser' (maybe misspelled?)
    2 条回复    1970-01-01 08:00:00 +08:00
    pandada8
        1
    pandada8  
       2014-04-26 17:50:17 +08:00
    yakczh
        2
    yakczh  
    OP
       2014-04-26 18:43:07 +08:00
    下载了, 解析英文的Table没问题,但是如果table中th是中文 就提示
    File "table_parser.py", line 141, in table_parse
    if headers and not all([header in table.text_content() for header in headers]):
    TypeError: 'in <string>' requires string as left operand
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   748 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 21:22 · PVG 05:22 · LAX 14:22 · JFK 17:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.