Try Method In Python Class