[sugar] A Hello World that does it all?

Kent Loobey kent
Thu Mar 13 11:40:36 EDT 2008


On Thursday 13 March 2008 4:08:28 am you wrote:
> On Sat, Mar 8, 2008 at 10:33 PM, Kent Loobey <kent at uoregon.edu> wrote:
> > Is there a "Hello World" python example that includes all of the basic
> >  XO/Sugar necessities, i.e., journalling, building, file storage,
> > whatever?
>
> Don't think so, if you are interested in completing the existing
> content in the wiki, feel free to ask any questions in this mailing
> list.

My problem with updating wikies is stated clearly by Paul Fox's email "icon 
assistance/validation" posted 2008-03-11 7:55 pm.

"figuring out how to structure the icon "by documentation" isn't
all that easy, either -- even though there are no fewer than 5
pages which describe parts of the process and guidelines."

I find this to be a serious problem for me as well.  I don't know which wiki 
to update.  The XO has a large number of elements that need to be done 
correctly before an activity is read for dispersal into the wilds.

My idea is to create a hello-world like activity that demonstrates a minimal 
activity that covers all of the bases.  I am plugging away on it as we speak.  
I call it "OpenWorld.activity".  :-)

>
> >  I am assuming that there are two ways to go with python at this point,
> >  OLPCGames and OLPCGTK.  Is this right or are there other options?
>
> Well, in principle you could use PyQT or whatever other toolkit or
> libraries, but OLPC is currently putting more effort in PyGTK and
> PyGames. If you use any library not included in the platform, you will
> have to ship it inside your activity bundle.

I decided to start with PyGTK since it seemed to me that the example would be 
a little clearer to follow than it would be in PyGames.

This is going to help me have a base for later projects that I want to 
develop.  I will want to make what I learn available to others but I have yet 
to work that out.  I would like a single wiki that tells me what I need to 
know to develop an activity but I don't see how that can happen.

So that is what I am doing.  Maybe others can tell me a better way to proceed.

>
> Hope it helps,
>
> Tomeu





More information about the Sugar-devel mailing list