devi thapa wrote:
> I am executing a python script in a shell script.  The python script
> actually returns a value.
> So, can I get the return value in a shell script? If yes, then help me
> out.

Yes.  The variable $? should be bound to the return value of the last
foreground program to exit.  The python script can return a value using
sys.exit(value)

HTH


-- 
I'm at CAMbridge, not SPAMbridge
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to