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

请问这个名字为 D 的方法是什么?

  •  
  •   saximi · Sep 29, 2017 · 3295 views
    This topic created in 3326 days ago, the information mentioned may be changed or developed.

    看一本书中写了以下的命令,请问 D()这个方法是 python 中某个包所带的方法么?

    url='http://example.webscraping.com/ajax/search.json?page=0&page_size=10&search_term=' json.loads(D(url))['num_pages'] 0

    4 replies  •  2017-09-30 23:44:45 +08:00
    xfspace
    xfspace
    Sep 29, 2017 via Android
    1
    63 页。
    D = Downloader()
    Chyroc
    Chyroc
    Sep 30, 2017
    2
    想起了我 thinkphp 里面几个一个字母的方法
    Chyroc
    Chyroc
    Sep 30, 2017
    3
    擦。。。。多了一个我字
    saximi
    saximi
    OP
    Sep 30, 2017
    4
    @xfspace 哈哈,万分感谢,我看书不认真,看了后面忘了前面!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1681 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 02:49 · PVG 10:49 · LAX 18:49 · JFK 21:49
    ♥ Do have faith in what you're doing.