Did you ever get an answer to your post from 2006 regarding Python exit codes being passed to a UNIX shell script (which called the Python script)?

http://bytes.com/topic/python/answer...it-code-python...