DAOCLOUD
推荐学习书目
› Python Cookbook
› Using Google App Engine
推荐下载
› Latest Google App Engine SDK
其他兼容技术
› AppScale
julia

请教 BadValueError() 怎么调用?我想做个容错

  •  
  •   julia · Dec 13, 2010 · 5216 views
    This topic created in 5804 days ago, the information mentioned may be changed or developed.
    。。。
    2 replies  •  1970-01-01 08:00:00 +08:00
    darasion
    darasion
    Dec 13, 2010
    1
    from google.appengine.ext import db

    try:
    #...
    except db.BadValueError:
    #....
    julia
    julia
    OP
    Dec 13, 2010
    2
    谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2722 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 00:26 · PVG 08:26 · LAX 16:26 · JFK 19:26
    ♥ Do have faith in what you're doing.