<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>hey guys,<div><br></div><div>I have a requirement where I need to sequentially execute a bunch of executions, each execution has a return code. the followed executions should only be executed if the return code is 0. is there a cleaner or more pythonic way to do this other than the following ? </div><div><br></div><div>if a() == 0:</div><div>    if b() == 0:</div><div>        c()</div><div><br></div><div>Thanks for your input.</div><div><br></div><div>frank</div>                                         </div></body>
</html>