try…finally的使用 假如要实现不管中间是否发生异常,都要输出一串字符串 try: print i finally: print "不管上面是否异常,我必须输出!" 第二个例子:要实现将一串字符串输出1000...