Python repr and str - the difference - 14 Mar 2012 - This is usually a question asked in many Python interviews: What is the difference between the __str__ and __repr__ methods of a Python object. The same question was asked by one of my colleagues, which