Python Class factory一般而已, Python 客製化的 Exception 通常都會這麼做: class AnException(Exception): pass class AnOtherExeption(Exception): pass2016 年 6 月 13 日Python 程式設計 - 高階