how can i print return values (success/failure) from a python script
<p>i have a python script, that connects to a web service using suds client, and gets data. Now based on what was queried, i can get a true or false as results.
so when i run the script with correct data values, i get nothing on the stdout, but when i use incorrect data, i get "data error", based on :</p>

<pre>
except Exception, e:
    print 'data error'
</pre>

<p>Is there a way to get the values of success and failure from a python script, so in case of failure, i can notify the user. I am referring to the return values frm a failed/success python script</p>
