468,288 Members | 1,992 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,288 developers. It's quick & easy.

Re: return a value to shell script

On Wed, Nov 12, 2008 at 2:06 PM, devi thapa <de********@gmail.comwrote:
Hi,

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.

Regards,
Devi
--
http://mail.python.org/mailman/listinfo/python-list
import sys

sys.exit(123)

--
Marco Bizzarri
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/
Nov 12 '08 #1
0 1414

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Yann.K | last post: by
17 posts views Thread by Freeserve | last post: by
3 posts views Thread by D.P. Roberts | last post: by
13 posts views Thread by vashwath | last post: by
4 posts views Thread by devi thapa | last post: by
3 posts views Thread by devi thapa | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.