結果 : how to get instance type in python