Is there a reliable way (this is on Solaris if that matters) to tell if I'm running in the interactive interpreter as opposed to in a script? I think examining sys.argv works, but wanted to double check.
Thx, Skip -- http://mail.python.org/mailman/listinfo/python-list