摘要:
1、print python2中是print xxx python3中是print(xxx) 2、抛异常except python2中except Exception,e: print "Exception别名是e” python3中except Exception as e: print ("Ex 阅读全文
摘要:
try: xxx except exception as e: print("给exception取了个别名叫做e") else: ccc 阅读全文