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

sqlalchemy 请教

  •  
  •   bianz103 · Dec 14, 2019 · 3616 views
    This topic created in 2343 days ago, the information mentioned may be changed or developed.

    python 函数参数可以为普通参数,列表,字典,看到 sqlalchemy 里面参数为 user_table.c.id == 5 这种检索方式,请问这是什么形式的语法?

    1 replies    2019-12-14 21:53:03 +08:00
    n121
        1
    n121  
       Dec 14, 2019   ❤️ 2
    Python 可以重载操作符,user_table.c.id == 5 等于 user_table.c.id.__eq__(5)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1044 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:41 · PVG 02:41 · LAX 11:41 · JFK 14:41
    ♥ Do have faith in what you're doing.