摘要: matchObj.group() : CatsaresmarterthandogsmatchObj.group(1) : CatsmatchObj.group(2) : smmatchObj.group(2) : arterthandogs 阅读全文
posted @ 2018-11-25 18:55 黑魔法os 阅读(358) 评论(0) 推荐(0) 编辑
摘要: try: a=2;b=1 if a>b: raise Exception("dayu") except Exception as ff: print (ff) ———————————————————————————— class ownerException(Exception): def __init__(self,message): ... 阅读全文
posted @ 2018-11-25 17:24 黑魔法os 阅读(411) 评论(0) 推荐(0) 编辑