Caryl,<div><br></div><div>I have been a Mac owner for a little over a week now and have done development on the Mac for the iPhone and iPad. The IDE that Apple provides is called Xcode and it is free in the Apple Store. I've never tried it with Python, but it is a decent editor if nothing else. You might have to be careful with indents.</div>
<div><br></div><div>As a Linux user I'm spoiled when it comes to development tools. Amazingly good tools are a checkbox click away for Python or any number of other languages. A lot of these tools could run on a Mac but you need to install something called Mac Ports and maybe compile things from source code. The Mac is not a congenial environment for developers, in my opinion. In contrast Linux practically begs you to write programs for it.</div>
<div><br></div><div>Eclipse is available for the Mac and has a Python plugin available. It runs as a Java app, so you'd need to have Java installed. It would take a lot of fooling around to get this installed and working on a Mac.</div>
<div><br></div><div>If you really want to learn Python and develop Activities you need a Linux box. I have two of them I'm not using and if there was a cheap way to get one to you I'd give you one of them.</div><div>
<br></div><div>James Simmons<br><br><div class="gmail_quote">On Sat, Aug 6, 2011 at 11:51 PM, Caryl Bigenho <span dir="ltr"><<a href="mailto:cbigenho@hotmail.com">cbigenho@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><font 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 face="Verdana"><br></font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><font 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 face="Verdana"><br></font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><font 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 face="Verdana"><br></font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><font 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 face="Verdana"><br></font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><font 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 face="Verdana"><br></font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><font 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 face="Verdana"><br></font></p><font color="#888888">
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:12.0px Helvetica"><font face="Verdana">Caryl</font></p></font><div><br></div><div class="hm"><br></div><div><div class="hm"><hr>Date: Sun, 7 Aug 2011 06:50:42 +0500<br>From: <a href="mailto:sebastian@somosazucar.org" target="_blank">sebastian@somosazucar.org</a><br>
To: <a href="mailto:cbigenho@hotmail.com" target="_blank">cbigenho@hotmail.com</a><br>CC: <a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a>; <a href="mailto:iaep@lists.sugarlabs.org" target="_blank">iaep@lists.sugarlabs.org</a>; <a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
Subject: Re: [IAEP] [support-gang] Quick Question</div><div><div></div><div class="h5"><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 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;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">
<div>
<div>
<div>
<h2 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> </span><span><strong>syntax
highlighting</strong></span><span> </span>where all the
different parts of your program are colorized so that you
can<span> </span><span><em>see</em></span><span> </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> </span><a href="http://www.python.org/cgi-bin/moinmoin/IntegratedDevelopmentEnvironments" target="_blank">various development environments</a><span> </span>and<span> </span><a href="http://www.python.org/cgi-bin/moinmoin/PythonEditors" target="_blank">many editors for Python</a><span> </span>available. In order
to keep things simple, I recommend using the <span style="color:maroon">DrPython</span><span> </span>development
environment. It is pronounced as<span> </span><span><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 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;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">
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" 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 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>
<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 href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> To: <a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a><br>
> CC: <a href="mailto:iaep@lists.sugarlabs.org" target="_blank">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 href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
> _______________________________________________<br>
> support-gang mailing list<br>
> <a href="mailto:support-gang@lists.laptop.org" target="_blank">support-gang@lists.laptop.org</a><br>
> <a href="http://lists.laptop.org/listinfo/support-gang" target="_blank">http://lists.laptop.org/listinfo/support-gang</a><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
IAEP -- It's An Education Project (not a laptop project!)
<a href="mailto:IAEP@lists.sugarlabs.org" target="_blank">IAEP@lists.sugarlabs.org</a>
<a href="http://lists.sugarlabs.org/listinfo/iaep" target="_blank">http://lists.sugarlabs.org/listinfo/iaep</a></pre>
</blockquote>
<br></div></div></div> </div></div>
<br>_______________________________________________<br>
support-gang mailing list<br>
<a href="mailto:support-gang@lists.laptop.org">support-gang@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/support-gang" target="_blank">http://lists.laptop.org/listinfo/support-gang</a><br>
<br></blockquote></div><br></div>