#coding=utf-8class YouNeedError(Exception): passtry: raise YouNeedError("lola")except Exception as e: print str(e)
本文共 174 字,大约阅读时间需要 1 分钟。
#coding=utf-8class YouNeedError(Exception): passtry: raise YouNeedError("lola")except Exception as e: print str(e)
转载于:https://www.cnblogs.com/themost/p/9261608.html