I would recomend you take a look at Alan Gauld&#39;s tutor. That is what got me started and I was able to catch on fairly quick even with little to no programming experience.<br><br><span class="sg"></span><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freenetpages.co.uk/hp/alan.gauld" target="_blank">
http://www.freenetpages.co.uk/hp/alan.gauld</a><br><br><div><span class="gmail_quote">On 5/28/07, <b class="gmail_sendername">Alan Gauld</b> &lt;<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&quot;adam urbas&quot; &lt;<a href="mailto:adamurbas@hotmail.com">adamurbas@hotmail.com
</a>&gt; wrote in<br><br>&gt;&nbsp;&nbsp;I&#39;m not sure when to indent.&nbsp;&nbsp;I understand that it has to be done.<br><br>Ok, But you need to understand *why* it has to be done.<br>To do that you need to understand the basic constructs
<br>of programming: sequences, branches, loops and modules.<br>(these are described in the concepts section of my tutorial)<br>Basically each construct is defined by indenting in python.<br>Thus if you have a loop in your code the set of instructions
<br>to be repeated is indented. This makes it visually clear what<br>gets repeated. More importantly it tells the Python interpreter<br>what it should repeat!<br><br>Thus, simplistically, you need to indent anything following
<br>a colon.<br>That is after a branch instruction:&nbsp;&nbsp;if/elif/else<br>or a loop: for/while<br>or a function(module) definition: def<br>or inside a class: class<br><br>The next trick is to determine when to stop indenting and
<br>that&#39;s actually harder to describe! Its basically when you<br>want Python to stop treating your code as special - eg no<br>longer part of the code to be repeated in a loop.<br><br>&gt; I need somewhere to start from the beginning.
<br><br>There are several non-programmers tutorials<br>(including mine :-). Try one of them.<br><br><a href="http://wiki.python.org/moin/BeginnersGuide/NonProgrammers">http://wiki.python.org/moin/BeginnersGuide/NonProgrammers
</a><br><br>Dive Into python is an excellent book for experienced<br>programmers or after you have gone through one of those<br>listed above.<br><br>--<br>Alan Gauld<br>Author of the Learn to Program web site<br><a href="http://www.freenetpages.co.uk/hp/alan.gauld">
http://www.freenetpages.co.uk/hp/alan.gauld</a><br><br><br>_______________________________________________<br>Tutor maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Tutor@python.org">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor">
http://mail.python.org/mailman/listinfo/tutor</a><br></blockquote></div><br><br clear="all"><br>-- <br>Daniel McQuay<br>Linux Padawan<br><a href="http://Jaluno.com">Jaluno.com</a><br>H: 814.825.0847<br>M: 814-341-9013