<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I was going to recommend DrPython and found this document, a chapter
    of the book "A Byte of Python":<br>
    <br>
    <tt><i><span class="Apple-style-span" style="color: rgb(0, 0, 0);
          font-family: Georgia,sans-serif; font-style: normal;
          font-variant: normal; font-weight: normal; letter-spacing:
          normal; line-height: normal; orphans: 2; text-indent: 0px;
          text-transform: none; white-space: normal; widows: 2;
          word-spacing: 0px; font-size: medium;">
          <div class="titlepage">
            <div>
              <div>
                <h2 class="title" style="color: rgb(102, 51, 0);
                  margin-top: 0px; margin-right: 0px; margin-bottom:
                  0px; margin-left: 0px; font-family: sans-serif; clear:
                  both; ">"Choosing an editor</h2>
              </div>
            </div>
          </div>
          <p>Before we move on to writing Python programs in files, we
            need an editor to write the 'source' files. The choice of an
            editor is crucial. You have to choose an editor as you would
            choose a car that you want to buy. A good editor will help
            you write Python programs easily, making your journey more
            comfortable and helps you reach your destination (achieve
            your goal) in a much faster and safer manner.</p>
          <p>One of the basic requirements of a good editor is<span
              class="Apple-converted-space"> </span><span class="bold"><strong>syntax
                highlighting</strong></span><span
              class="Apple-converted-space"> </span>where all the
            different parts of your program are colorized so that you
            can<span class="Apple-converted-space"> </span><span
              class="emphasis"><em>see</em></span><span
              class="Apple-converted-space"> </span>your program and
            visualize how it will run. This also means that you should
            avoid Windows Notepad especially because it doesn't support
            indentation. Indentation means neatly formatting the program
            with the use of whitespace (spaces and tabs) at the
            beginning of the line to make it easy to read the program.
            We will soon learn why indentation is important in Python.</p>
          <p>There are<span class="Apple-converted-space"> </span><a
href="http://www.python.org/cgi-bin/moinmoin/IntegratedDevelopmentEnvironments"
              target="_top">various development environments</a><span
              class="Apple-converted-space"> </span>and<span
              class="Apple-converted-space"> </span><a
              href="http://www.python.org/cgi-bin/moinmoin/PythonEditors"
              target="_top">many editors for Python</a><span
              class="Apple-converted-space"> </span>available. In order
            to keep things simple, I recommend using the <span
              class="application" style="color: maroon; ">DrPython</span><span
              class="Apple-converted-space"> </span>development
            environment. It is pronounced as<span
              class="Apple-converted-space"> </span><span
              class="emphasis"><em>doctor-python</em></span>. It is
            called a development environment since you can edit, run and
            manage Python programs completely within DrPython. An
            interesting note is that DrPython itself is written in
            Python.</p>
          <p>First, we shall install DrPython."<br>
          </p>
        </span></i></tt><i><span class="Apple-style-span" style="color:
        rgb(0, 0, 0); font-family: Georgia, sans-serif; font-style:
        normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: 2;
        text-align: -webkit-auto; text-indent: 0px; text-transform:
        none; white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-decorations-in-effect: none;
        -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
        font-size: medium; ">
        <p>He proceeds with instructions to install on all three major
          platforms:<br>
          <a
href="http://dsnra.jpl.nasa.gov/software/Python/byte-of-python/output/byteofpython_html/choosing-editor.html">http://dsnra.jpl.nasa.gov/software/Python/byte-of-python/output/byteofpython_html/choosing-editor.html</a><br>
          <br>
          Incidentally, Christofer, the boy I think you and I met in
          Montevideo, sugarized DrPython, so it works well with the XO
          as well:<br>
          <a
            href="http://activities.sugarlabs.org//es-ES/sugar/addon/4427">http://activities.sugarlabs.org//es-ES/sugar/addon/4427</a><br>
        </p>
      </span></i>These uruguayan kids never cease to amaze me.<br>
    <br>
    Regards,<br>
    Sebastian<br>
    <br>
    El 06/08/11 05:49, Caryl Bigenho escribió:
    <blockquote cite="mid:SNT112-W65986654C17356B55F61D2CC3F0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        <div><i>Hi...</i></div>
        <div><i><br>
          </i></div>
        <div><i>I must be doing something wrong:</i></div>
        <div><i><br>
          </i></div>
        <div>>>> idle</div>
        <div>Traceback (most recent call last):</div>
        <div>  File "<stdin>", line 1, in <module></div>
        <div>NameError: name 'idle' is not defined</div>
        <div>>>> </div>
        <div><i><br>
          </i></div>
        <div><i>This is where I am in Terminal:</i></div>
        <div><i><br>
          </i></div>
        <div>
          <div>Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011,
            14:13:39) </div>
          <div>[GCC 4.0.1 (Apple Inc. build 5493)] on darwin</div>
          <div>Type "help", "copyright", "credits" or "license" for more
            information.</div>
        </div>
        <div><br>
        </div>
        <div><i>Caryl</i></div>
        <div><br>
        </div>
        <div>> Date: Sat, 6 Aug 2011 09:34:25 +1000<br>
          > From: <a class="moz-txt-link-abbreviated" href="mailto:quozl@laptop.org">quozl@laptop.org</a><br>
          > To: <a class="moz-txt-link-abbreviated" href="mailto:support-gang@lists.laptop.org">support-gang@lists.laptop.org</a><br>
          > CC: <a class="moz-txt-link-abbreviated" href="mailto:iaep@lists.sugarlabs.org">iaep@lists.sugarlabs.org</a><br>
          > Subject: Re: [support-gang] Quick Question<br>
          > <br>
          > In Terminal, type idle and press enter. You get Python's
          own editor,<br>
          > with a Python shell that you can type into as well.<br>
          > <br>
          > -- <br>
          > James Cameron<br>
          > <a class="moz-txt-link-freetext" href="http://quozl.linux.org.au/">http://quozl.linux.org.au/</a><br>
          > _______________________________________________<br>
          > support-gang mailing list<br>
          > <a class="moz-txt-link-abbreviated" href="mailto:support-gang@lists.laptop.org">support-gang@lists.laptop.org</a><br>
          > <a class="moz-txt-link-freetext" href="http://lists.laptop.org/listinfo/support-gang">http://lists.laptop.org/listinfo/support-gang</a><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
IAEP -- It's An Education Project (not a laptop project!)
<a class="moz-txt-link-abbreviated" href="mailto:IAEP@lists.sugarlabs.org">IAEP@lists.sugarlabs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/iaep">http://lists.sugarlabs.org/listinfo/iaep</a></pre>
    </blockquote>
    <br>
  </body>
</html>