V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 3009 views
    This topic created in 3144 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   ·   Solana   ·   2943 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 10:08 · PVG 18:08 · LAX 03:08 · JFK 06:08
    ♥ Do have faith in what you're doing.