I have been looking for something like this for quite a while. I am going to try to teach my little brother, (about 10) , to learn programming, and this seems like the perfect way to do it. I have been learning python myself and was very intriuged (sp?) by your code. However, when I went to run it, I encountered a few problems: (BTW, I am on a windows machine, should I try running it on my XO?)<div>
-The function lowercase() ... is that in an older version of python? </div><div>-I am on python 3.1, was this written in 2.6 or something?</div><div><br></div><div>Other than that (by looking at your code) I see that this is an awesome program! <img src="cid:330@goomoji.gmail" style="margin-top: 0px; margin-right: 0.2ex; margin-bottom: 0px; margin-left: 0.2ex; vertical-align: middle; " goomoji="330"></div>
<div><br></div><div>~Samir</div><div><br><div class="gmail_quote">On Sun, Jun 27, 2010 at 8:13 AM, Dinko Galetic <span dir="ltr"><<a href="mailto:dinko.galetic@gmail.com">dinko.galetic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello everyone,<br><br>I'm currently working on a Python tutorial for Pippy as part of my GSOC project. <br>I've written several lessons and am now wrapping them in Python code to make them interactive. I've attached a prototype of what I'm trying to accomplish and I'm hoping for your reviews (it's also available in my Pippy branch). <br>
<br>I imagined the lessons being put in /data/tutorial/ and that they are accessed the same way Pippy examples are. Each such file would just have a few lines of comments to explain what the lesson is about and how to use it, and "import lesson<x>, lesson<x>.run() ". The lesson<x>.py files would be in /library/pippy/tutorial/ or somewhere similar.<br>
<br>Comments on ANY part of it would be greatly appreciated, even if it's just a suggestion to use a different variable name in the examples the learner will see, or to (no matter how slightly) modify the way something is explained. It's really important to teach programming as clearly as possible, IMO.<br>
<br>Kind regards,<br><font color="#888888">Dinko<br>
</font><br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">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></blockquote></div><br></div>