script vs inneractive

Robert Kern robert.kern at gmail.com
Thu May 25 13:17:38 EDT 2006


Dennis Lee Bieber wrote:
> 	If that "return 1" is the last line in the program, at the most it
> will be treated as a return code to the OS signaling that the program
> succeeded or failed. I'm not really sure how Python handles a return
> from main program.

It's a syntax error.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list