If you use IPython for your interactive mode stuff, you'll have a nice history... Regards,
Fuzzy http://www.voidspace.org.uk/python/index.shtml
Best event : if your "EDITOR" system variable in "vim", using the "ed" command in ipython will bring "vim" with (eventually) the code you want to edit :)
Now, I wonder if you could embed ipython inside vim ...
Pierre -- http://mail.python.org/mailman/listinfo/python-list