<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=windows-1252"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
adam urbas wrote:
<blockquote cite="midBAY103-W202DEBBA452DC0A6602987B1280@phx.gbl"
 type="cite">
  <style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
  </style>
  <div style="text-align: left;">Thanks for the clarification, but I'm
still a tad confused.  I'm not sure when to indent.  </div>
</blockquote>
The following keywords introduce a "suite" (1 or more statements) that
are "controlled" by the keyword. Those statements must be indented
further than the keyword. What more can anyone say? If this is not
clear please explain at which point you lose clarity.<br>
 if<br>
 elif<br>
 else<br>
 while<br>
 for <br>
 try<br>
 except<br>
 finally<br>
 with <br>
 def <br>
 class<br>
<br>
Example:<br>
<tt> a = 0<br>
 while a &lt; 4: # statement that introduces a suite<br>
</tt><tt>    print a   # another statement in the </tt><tt>while </tt><tt>suite<br>
    if a == 2: </tt><tt># statement in the while that introduces
another suite</tt><br>
<tt>        print "We hit 2" </tt><tt># statement in the if suite<br>
</tt><tt>    a += 1    # statement in the </tt><tt>while </tt><tt>suite;
if suite has ended<br>
 </tt><tt>print "done" # while suite has ended</tt><br>
<tt><br>
</tt>This results in output:<br>
<tt>0<br>
1<br>
2<br>
</tt><tt>We hit 2<br>
3<br>
</tt><br>
<pre class="moz-signature" cols="72">-- 
Bob Gailer
510-978-4454</pre>
</body>
</html>