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

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

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