Monday, December 26, 2005

Ode to repr()

The repr() function in Python is just great. I love the distinction between str() (presentation) and repr() (content).

The amount of times I've had to muck around in C until I find a string has a non-printable character in the middle of it (like carriage return)... I'm loving the debugging speed using Python :)

No comments: