People that find code.interact useful should check out IPython* (which is an interactive Python shell with auto completion and a lot of other features).
Here is how I launch a shell for my projects (it tries to use IPython, if it isn't working it uses code.interact): http://paste.plurk.com/show/17110/