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

python 报错

  •  
  •   617450941 · Nov 28, 2015 · 3440 views
    This topic created in 3822 days ago, the information mentioned may be changed or developed.
    db thread except:unbound method zx() must be called with Connect instance as first argument (got str instance instead)
    这个报错是什么问题?
    6 replies    2015-11-29 16:20:57 +08:00
    Delbert
        1
    Delbert  
       Nov 28, 2015 via Android
    看了楼主之前的提问,私以为楼主应该到《提问的智慧》里面找答案。
    还有,楼主是看不懂英文吗?我来翻译一下:
    zx 方法需要调用 Connect 实例作为第一个参数,楼主传递了字符串。
    不要回复我了, block 不谢。
    windfarer
        2
    windfarer  
       Nov 28, 2015 via Android
    先学英语?
    limbo0
        3
    limbo0  
       Nov 28, 2015
    默默点进去看了眼 -> block
    tjxiter
        4
    tjxiter  
       Nov 28, 2015
    调用 zx 的那个实例应该是 Connect instance ,而你用的是 str instance 。

    报错信息都说了。多学学英语,推荐《新概念英语》。我同事有时候看不懂的英文叫我翻译。。。
    aprikyblue
        5
    aprikyblue  
       Nov 29, 2015
    RTFM
    AndyCarry
        6
    AndyCarry  
       Nov 29, 2015
    一些英语术语还是要掌握的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3043 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 05:39 · PVG 13:39 · LAX 22:39 · JFK 01:39
    ♥ Do have faith in what you're doing.