python type error – POFTUT