jfrancis4...@mailinator.com wrote: > how do you determine, from within a python program, whether the python > interpreter was launched in interactive mode?
sys.flags.interactive or sys.flags.inspect -- http://mail.python.org/mailman/listinfo/python-list