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

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

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

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