Re: [Sugar-devel] Python tutorial for Pippy

2010-06-28 Thread Dinko Galetic
, but after the lesson on functions. Other than that (by looking at your code) I see that this is an awesome program! [?] Glad to hear it. Stick around - I'll be posting the rest of my lessons when I get enough thumbs-up on this one. Kind regards, Dinko Galetic 330

[Sugar-devel] Python tutorial for Pippy

2010-06-27 Thread Dinko Galetic
Hello everyone, I'm currently working on a Python tutorial for Pippy as part of my GSOC project. 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

[Sugar-devel] [PATCH] Pippy example - Koch snowflake

2010-06-03 Thread Dinko Galetic
Hi, I've added a few new examples to Pippy. They're available in my repository ( http://git.sugarlabs.org/projects/pippy/repos/dgaletic-gsoc2010); I haven't made an .xo since I'm having some problems with my Sugar installation. Since this is about learning Python, in each of them I've tried to

[Sugar-devel] [PATCH] Pippy example - Sierpinski triangle

2010-06-03 Thread Dinko Galetic
This Python script draws the Sierpinski triangle. As with my Koch snowflake example, the user can modify the number of triangles using left and right arrows. diff --git a/data/GSOC examples/Sierpinski - graphics b/data/GSOC examples/Sierp new file mode 100644 index 000..449277a --- /dev/null

[Sugar-devel] [PATCH] Pippy example - Opening websites

2010-06-03 Thread Dinko Galetic
This example covers some basic functionality of urllib2 - opening a website, reading from it and finding its title. diff --git a/data/GSOC examples/Opening websites b/data/GSOC examples/Opening we new file mode 100644 index 000..97ee16f --- /dev/null +++ b/data/GSOC examples/Opening websites

[Sugar-devel] [PATCH] Pippy example - multiplication table

2010-06-03 Thread Dinko Galetic
This example neatly prints the multiplication table with dimensions the user entered. diff --git a/data/GSOC examples/multiplication table b/data/GSOC examples/multip new file mode 100644 index 000..4601f01 --- /dev/null +++ b/data/GSOC examples/multiplication table @@ -0,0 +1,69 @@ +import

[Sugar-devel] [PATCH] Pippy example - file writing and reading

2010-06-03 Thread Dinko Galetic
This example demonstrates some basic text file reading and writing. diff --git a/data/GSOC examples/file writing and reading b/data/GSOC examples/fi new file mode 100644 index 000..13b7436 --- /dev/null +++ b/data/GSOC examples/file writing and reading @@ -0,0 +1,41 @@ +import time + +print

[Sugar-devel] [PATCH] Pippy example - birthday reminder

2010-06-03 Thread Dinko Galetic
that. Dinko Galetic diff --git a/data/GSOC examples/birthday reminder b/data/GSOC examples/birthday new file mode 100644 index 000..eca9458 --- /dev/null +++ b/data/GSOC examples/birthday reminder @@ -0,0 +1,201 @@ +# The purpose of this example is to demonstrate what is a dictionary in Python

[Sugar-devel] GSOC: Pippy ideas

2010-04-06 Thread Dinko Galetic
could teach them. Though, we might stumble into some prodigies that way... I hope you'll have the time to write some feedback soon. Kind regards, Dinko Galetic ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org