Working With Complex Python Class Objects