自定义异常处理显示错误消息和错误编号class My_custom_exception(Exception): def __init__(self, ErrNum, *arg, **kwargs): self.E ...2024-06-10 已阅读: n次