<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes I realized the instructions for mac are a bit complicated.<br>
You shouldn't let yourself get complicated with this, almost any
editor will do.<br>
If you've followed James's advice regarding Eclipse and PyDev then
you're probably all set.<br>
If you still need help don't hesitate to ask more. Here are some
more direct instructions for DrPython.<br>
<br>
Here are the two files you need if you still want to try drpython.<br>
<br>
<a
href="http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/wxPython2.8-osx-unicode-2.8.12.1-universal-py2.6.dmg/download">http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/wxPython2.8-osx-unicode-2.8.12.1-universal-py2.6.dmg/download</a><br>
<br>
<a
href="http://kent.dl.sourceforge.net/project/drpython/DrPython%20Current/3.11.3/DrPython_3.11.3.zip">http://kent.dl.sourceforge.net/project/drpython/DrPython%20Current/3.11.3/DrPython_3.11.3.zip<br>
</a><br>
Once you have the first installed (wxPython), you can probably just
open the DrPython zip file and double click on "drpython.py".<br>
<br>
Good luck!<br>
Sebastian<br>
<br>
El 07/08/11 09:51, Caryl Bigenho escribió:
<blockquote cite="mid:SNT112-W5670E0065A50D7BAC8D2AACC3E0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica"><font class="Apple-style-span" face="Verdana">Hi
Sebastian,</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica; min-height: 14.0px"><font class="Apple-style-span"
face="Verdana"><br>
</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica"><font class="Apple-style-span" face="Verdana">Thanks
for the reference to "A Byte of Python." I had it
downloaded on my computer... on the hard drive that had a
fatal crash on the ferry from Montevideo to BsAs. I guess I
had better download it again onto the new hard drive. It
sounds like it has the info I need to get started.</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica; min-height: 14.0px"><font class="Apple-style-span"
face="Verdana"><br>
</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica"><font class="Apple-style-span" face="Verdana">I was
hoping I could just use the Khan Academy videos to get a
running start on Python. I figured since I used to be
pretty good at programming in the old languages (Fortran,
BASIC, and Pascal) that it would transfer easily to Python
once I got all the terms and syntax down.</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica; min-height: 14.0px"><font class="Apple-style-span"
face="Verdana"><br>
</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica"><font class="Apple-style-span" face="Verdana">Then
I ran into a wall... the need for an editor. I just need a
simple, easy to install and use editor and everyone was very
helpful in suggesting things, but none were what I would
classify as easy to get started on. Oh well, I kept telling
Adam there were no shortcuts to learning a language
(Spanish), I guess this applies to computer languages too!</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica; min-height: 14.0px"><font class="Apple-style-span"
face="Verdana"><br>
</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica"><font class="Apple-style-span" face="Verdana">Yes,
Christofer is pretty amazing. I didn't actually meet him
when we were there, but I have followed his progress and
accomplishments with interest. </font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica; min-height: 14.0px"><font class="Apple-style-span"
face="Verdana"><br>
</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica"><font class="Apple-style-span" face="Verdana">Thanks
again for the suggestion... now I'm going to download Byte
of Python, then I guess I'll go for DrPython.</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica; min-height: 14.0px"><font class="Apple-style-span"
face="Verdana"><br>
</font></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica"><font class="Apple-style-span" face="Verdana">Caryl</font></p>
<div><br>
</div>
<br>
<div>
<hr id="stopSpelling">Date: Sun, 7 Aug 2011 06:50:42 +0500<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:sebastian@somosazucar.org">sebastian@somosazucar.org</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:cbigenho@hotmail.com">cbigenho@hotmail.com</a><br>
CC: <a class="moz-txt-link-abbreviated" href="mailto:support-gang@lists.laptop.org">support-gang@lists.laptop.org</a>; <a class="moz-txt-link-abbreviated" href="mailto:iaep@lists.sugarlabs.org">iaep@lists.sugarlabs.org</a>;
<a class="moz-txt-link-abbreviated" href="mailto:quozl@laptop.org">quozl@laptop.org</a><br>
Subject: Re: [IAEP] [support-gang] Quick Question<br>
<br>
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="ecxApple-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="ecxtitlepage">
<div>
<div>
<h2 class="title" style="color:rgb(102, 51,
0);margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:sans-serif;clear:both">"Choosing
an editor</h2>
</div>
</div>
</div>
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.<br>
One of the basic requirements of a good editor is<span
class="ecxApple-converted-space"> </span><span
class="ecxbold"><strong>syntax highlighting</strong></span><span
class="ecxApple-converted-space"> </span>where all the
different parts of your program are colorized so that
you can<span class="ecxApple-converted-space"> </span><span
class="ecxemphasis"><em>see</em></span><span
class="ecxApple-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.<br>
There are<span class="ecxApple-converted-space"> </span><a
moz-do-not-send="true"
href="http://www.python.org/cgi-bin/moinmoin/IntegratedDevelopmentEnvironments"
target="_blank">various development environments</a><span
class="ecxApple-converted-space"> </span>and<span
class="ecxApple-converted-space"> </span><a
moz-do-not-send="true"
href="http://www.python.org/cgi-bin/moinmoin/PythonEditors"
target="_blank">many editors for Python</a><span
class="ecxApple-converted-space"> </span>available. In
order to keep things simple, I recommend using the <span
class="ecxapplication" style="color:maroon">DrPython</span><span
class="ecxApple-converted-space"> </span>development
environment. It is pronounced as<span
class="ecxApple-converted-space"> </span><span
class="ecxemphasis"><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.<br>
First, we shall install DrPython."<br>
<br>
</span></i></tt><i><span class="ecxApple-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;font-size:medium">
He proceeds with instructions to install on all three
major platforms:<br>
<a moz-do-not-send="true"
href="http://dsnra.jpl.nasa.gov/software/Python/byte-of-python/output/byteofpython_html/choosing-editor.html"
target="_blank">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 moz-do-not-send="true"
href="http://activities.sugarlabs.org//es-ES/sugar/addon/4427"
target="_blank">http://activities.sugarlabs.org//es-ES/sugar/addon/4427</a><br>
<br>
</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">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{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 moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:quozl@laptop.org">quozl@laptop.org</a><br>
> To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:support-gang@lists.laptop.org">support-gang@lists.laptop.org</a><br>
> CC: <a moz-do-not-send="true"
class="ecxmoz-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 moz-do-not-send="true"
class="ecxmoz-txt-link-freetext"
href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
> _______________________________________________<br>
> support-gang mailing list<br>
> <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:support-gang@lists.laptop.org">support-gang@lists.laptop.org</a><br>
> <a moz-do-not-send="true"
class="ecxmoz-txt-link-freetext"
href="http://lists.laptop.org/listinfo/support-gang"
target="_blank">http://lists.laptop.org/listinfo/support-gang</a><br>
</div>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
IAEP -- It's An Education Project (not a laptop project!)
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:IAEP@lists.sugarlabs.org">IAEP@lists.sugarlabs.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/iaep" target="_blank">http://lists.sugarlabs.org/listinfo/iaep</a></pre>
</blockquote>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>