I have some code which seems to print [<__main__.TCar object at 0x0245C1B0>] but I want it to print the actual contents of the list.
[<__main__.TCar object at 0x0245C1B0>]
class TCa
You have a list of objects here. Add something like:-
def __str__(self): print self.Make, self.Model, self.EngineSize, self.Price
This would print the value of all attributes of object. Or you can modify the function as per your behavior requirement.