python -i (interactive environment)

Michael Hoffman cam.ac.uk at mh391.invalid
Sun Mar 6 16:50:02 EST 2005


Joe wrote:

> Are there any differences between that and the actual interactve prompt that 
> I should be aware of?

I don't know, unfortunately.

> Would you consider that a better method than using (thanks to those who 
> suggested this other option):
> 
> import os
> os.environ['PYTHONINSPECT'] = '1'

Actually I would do that everyone else suggested for your use case. I thought
about trying this method but couldn't imagine that it would actually work!
-- 
Michael Hoffman



More information about the Python-list mailing list