Posix return or exit

M.N.A.Smadi smadim2 at grads.ece.mcmaster.ca
Wed Oct 5 12:38:13 EDT 2005


hi;
my script must return codes which are based on the POSIX spec of 
returning a positive value.  A work perl version of my code uses 
exit(code_num).  I am not sure if the equivilant in python is also:
     exit(code_num)
or
    return code_num

any ideas?

thanks
moe smadi



More information about the Python-list mailing list