"dir" function of Python

This snippet like "dir" function of Python. ( http://docs.python.org/2/library/functions.html#dir ) The "dir" function is useful on fsi. You can take a look at members of the object quickly.