I waste a lot of time between Vim and Python. I find it too slow to manually copy-paste from Python to Vim and vice versa. A good broken example is:
%
I just wrote the following module that lets you edit a temporary buffer in vim directly in the Python interpreter.
http://philipbjorge.github.com/EditREPL/