2005-10-14 getattr() について python http://diveintopython.org/power_of_introspection/getattr.html なるほどー。