How To Use Class Function In Python