jfrancis4970 at 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