推荐学习书目
› 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 · 3233 views
    This topic created in 3287 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
        1
    xfspace  
       Sep 29, 2017 via Android
    63 页。
    D = Downloader()
    Chyroc
        2
    Chyroc  
       Sep 30, 2017
    想起了我 thinkphp 里面几个一个字母的方法
    Chyroc
        3
    Chyroc  
       Sep 30, 2017
    擦。。。。多了一个我字
    saximi
        4
    saximi  
    OP
       Sep 30, 2017
    @xfspace 哈哈,万分感谢,我看书不认真,看了后面忘了前面!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5227 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 03:04 · PVG 11:04 · LAX 20:04 · JFK 23:04
    ♥ Do have faith in what you're doing.