推荐学习书目
› 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
mrfox
V2EX  ›  Python

墨墨背单词的查词典功能如何用 Python 实现

  •  
  •   mrfox · Sep 10, 2017 · 3734 views
    This topic created in 3311 days ago, the information mentioned may be changed or developed.
    墨墨有点非常好,单词可以查很多知名在线词典的释义,排版都不错,除了词源那个不能适应手机。想问问原理,自己尝试搞一下
    5 replies  •  2017-09-13 09:59:42 +08:00
    ycdjhh
        1
    ycdjhh  
       Sep 10, 2017 via Android   ❤️ 1
    好巧,我也在用
    ivechan
        2
    ivechan  
       Sep 11, 2017
    这个不是非常简单, 直接跳转到相关英语词典的网站啊, 大部分都有手机版适配的.
    跟墨墨没有关系, 也与 Python 无关.
    mrfox
        3
    mrfox  
    OP
       Sep 13, 2017
    @ivechan #2 就写一个查询语句么,遇到没有的词怎么处理,另外可不可以用 PY 读取无手机适配的网站再改成可以适配的输出呢
    mrfox
        4
    mrfox  
    OP
       Sep 13, 2017 via Android
    @ivechan 换个问法,如何用 python 写一个查询窗口,也调用词典网站的释义并且适配窗口大小和排版
    ivechan
        5
    ivechan  
       Sep 13, 2017
    @mrfox http://dictionary.cambridge.org/dictionary/english/grammar
    自己用 chrome 切换到手机模式看, 适配是网站自己做的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2307 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:44 · PVG 13:44 · LAX 22:44 · JFK 01:44
    ♥ Do have faith in what you're doing.