Posts from December 2007

A new year is coming in a few hours, and though the milliseconds passed since 1/1/1970 don't care a lot, it seems that people do. So here are my resolutions for 2008:

December 31, 2007, 5:04 p.m. More (189 words) 3 comments Feed

So, yesterday I was asked an interesting question:

Int: Are you familiar with Python's getattr?
Me: Um, yes?
Interviewer clarifies what it's all about
Int: So I now want you to implement __getattr__ in such a way that when a method is called with the prefix print it'll print it's name before calling it.

December 10, 2007, 6:26 a.m. More (1186 words) 0 comments Feed