Steve,<br><br>In my book I develop an e-book reader, starting with a standalone program and then converting it to a simple Activity, followed by adding toolbars, etc. The examples are simple but not trivial. I'm not a big fan of "Hello World". I prefer a simple program that actually does something useful. I don't have to understand absolutely every line of code to learn from an example.<br>
<br>My first exposure to Turbo C was Hello World. However, I really learned the language by typing in code for useful programs in "C Chest And Other C Treasures", especially since I didn't always type them in correctly and then I had to figure out where I went wrong.<br>
<br>If I was teaching a class I'd probably use the examples in my book. I've never taught a class in anything so I have no idea if that would work, but that's how I would do it.<br><br>The worst computer class I ever took was my introductory BAL class. We had "Green Cards" (IBM Assembly Pocket Reference) and we spent several class periods going over BAL instructions and what they did. It was probably the dumbest way you could teach BAL.<br>
<br>James Simmons<br><br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 5:08 PM, Steve Thomas <span dir="ltr"><<a href="mailto:sthomas1@gosargon.com" target="_blank">sthomas1@gosargon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, Jan 12, 2013 at 9:58 PM, <span dir="ltr"><<a href="mailto:forster@ozonline.com.au" target="_blank">forster@ozonline.com.au</a>></span> wrote:<br>
</div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
As a beginner, I found creating a Sugar Activity difficult. More difficult than creating a program to run from Terminal or Pippy. You might get better value using Pygame and writing something that can run from Pippy. The goal could be to create more Pippy built in samples.<br>
<br>
If you are going to write an Activity, you could give them a 'hello world' template and get them to build on that rather than starting from the beginning. Your 'hello world' template could have the basics:a text box for text entry/display, a canvas for graphical display and an example of keyboard and mouse capture.<br>
</blockquote></div><div>Agreed. Having a template to build on for an Activity would make things much simpler.</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Good luck. Please ask if you need help.<br></blockquote></div><div>Ditto. When will you start the class? I am also teaching Python to some kids now, and interested sharing ideas.</div><div><br></div><div>Stephen</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
Tony<br>
<div><div><br>
> <<a href="mailto:gerald.ardito@gmail.com" target="_blank">gerald.ardito@gmail.com</a>> wrote:<br>
> > Hello.<br>
> > I have been asked by my school district to teach a one semester course on<br>
> > computer programming to some of our high school students. I was already<br>
> > settled on Python. In my planning, I thought it would be great if the<br>
> > students built an application for Sugar/XO Laptop. I have, as I think you<br>
> > know, been using them in our school for a few years, I think the transition<br>
> > from consumer to producer would be great.<br>
> ><br>
> > I am not a Python programmer, although I understand the basic concepts and<br>
> > can muddle my way through. So,here's my question -- what should the students<br>
> > know/be able to do in Python before they are able to write an Activity?<br>
><br>
> Beyond the basics, understanding the concept of classes and<br>
> inheritance is pretty essential. Some GTK stuff, but that is pretty<br>
> straightforward.<br>
><br>
> -walter<br>
><br>
> ><br>
> > I hope this makes sense. And I appreciate your time.<br>
> ><br>
> > Best,<br>
> > Gerald Ardito<br>
> ><br>
> > _______________________________________________<br>
> > Sugar-devel mailing list<br>
> > <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Walter Bender<br>
> Sugar Labs<br>
> <a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
</div></div>> _____________________________________________________<br>
> This mail has been virus scanned by Australia On Line<br>
> see <a href="http://www.australiaonline.net.au/mailscanning" target="_blank">http://www.australiaonline.net.au/mailscanning</a><br>
</div></div><div><div><br>
_______________________________________________<br>
IAEP -- It's An Education Project (not a laptop project!)<br>
<a href="mailto:IAEP@lists.sugarlabs.org" target="_blank">IAEP@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/iaep" target="_blank">http://lists.sugarlabs.org/listinfo/iaep</a><br>
</div></div></blockquote></div><br>
<br>_______________________________________________<br>
IAEP -- It's An Education Project (not a laptop project!)<br>
<a href="mailto:IAEP@lists.sugarlabs.org">IAEP@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/iaep" target="_blank">http://lists.sugarlabs.org/listinfo/iaep</a><br></blockquote></div><br>