学习了:https://blog.csdn.net/chris_grass/article/details/77927902
import traceback def fun(a,b): return a/b try: fun(1,0) except Exception as e: traceback.print_exc()
原文地址:https://www.cnblogs.com/stono/p/8975584.html
时间: 2024-11-29 09:35:20
学习了:https://blog.csdn.net/chris_grass/article/details/77927902
import traceback def fun(a,b): return a/b try: fun(1,0) except Exception as e: traceback.print_exc()
原文地址:https://www.cnblogs.com/stono/p/8975584.html