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

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

  •  
  •   julia · Dec 13, 2010 · 5284 views
    This topic created in 5833 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   ·   4242 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 09:06 · PVG 17:06 · LAX 01:06 · JFK 04:06
    ♥ Do have faith in what you're doing.