Talk:Pippy: Difference between revisions
Nifty.olpc (talk | contribs) |
Nifty.olpc (talk | contribs) m (→School server) |
||
Line 77: | Line 77: | ||
There he asked how to increase the precision available to his code. Python has two relevant numeric types, integers and floating-point values. The former numeric type is of infinite precision, whereas the floating-point is an IEEE "double" of 64 bits. Accumulate your result as an integer and infer the decimal position by some other means. |
There he asked how to increase the precision available to his code. Python has two relevant numeric types, integers and floating-point values. The former numeric type is of infinite precision, whereas the floating-point is an IEEE "double" of 64 bits. Accumulate your result as an integer and infer the decimal position by some other means. |
||
== School server == |
== School server ideas and thoughts == |
||
Are there any general ideas for adding school server content features to Pippy? |
Are there any general ideas for adding school server content features to Pippy? |
||
Revision as of 17:18, 20 May 2008
Hey! Cool! Where did this come from? Is this in the build? If not, where can I get it?
I'm working on Bityi (translating code editor) which has obvious applications to this. Please contact me on my talk page or via email. Homunq 01:21, 22 August 2007 (EDT)
Hi Homung pippy is in the last two builds but i recommend you that you try it in the last build (553) RafaelOrtiz 05:12, 22 August 2007 (EDT)
Compliments, and sugestion of comments in the code examples
I think this activity will be really cool for kids to play with python in a sandbox environment and create small python programs.
Also, from an educational point of view, would it be good if there where examples that showed/explained parts of python syntax/language? This could be done with commentaries and would be excellent so that kids didn't have to leave the screen to access to a mini-reference book to help them in their mini-programs (which the current examples are a sort of). It would surpass the old interpreters that you are trying to emulate (like in the spectrums, etc.).
On the other hand, you could say that it should belong to a separate "Python for Kids" ebook, or perhaps part of the more full-blown Develop activity.
Anyway, it's a great thing already in its state!
- A link to some tutorial programs has been added in the Beginning Programming section Alan Davies 17:32, 14 December 2007 (EST)
Origin of Pippy?
What is the origin of Pippy? Is it an adaptation of the Python interpreter for Palm OS? --Lance E Sloan 21:53, 13 November 2007 (EST)
Feature Requests
I've tried using Pippy a bit, although only via an XO emulator at present. It seems like a great environment for learning and experimenting.
Here are a few ideas for improvement, when I get hold of a laptop and create an XO development environment I will consider implementing them myself:
- The core 'pippy' library could use a getchar() function (similar to old 8-bit basic INKEY$ )
- It would be great for beginners to have tooltips or some form of autocomplete that them helps to remember the parameters of functions etc.
Alan Davies 17:32, 14 December 2007 (EST)
Start new file? Save?
Pippy is great, but there needs to be some ability to handle code files (start from scratch and save). --208.54.95.5 11:14, 27 December 2007 (EST)
Changes to code in Pippy can be saved with "Keep" and then "Resummed" from the journal. Yea!
Okay, but that's pretty unsatisfying. I still can't create a new file with my own program. If we expect kids to use the XO to learn to program, what environment are they going to use? --22:03, 26 January 2008 (EST)Risacher
xo bundle?
There is no xo bundle link on the activities page. I want to play with this in my sugar-jhbuild but I guess I'll have to download it using git, totally undocumented...Homunq 23:53, 5 January 2008 (EST)
Pronouciation...
OK, what's the official word. Is it "Pie-pie", a lame name, or "Pippy" as in "Pippy Longstockings", a great name? Not that I'm biased. :) CharlesMerriam 16:35, 9 January 2008 (EST)
Saving Programs Like Examples
The example programs are shown in a nice hierarchical list on the left hand of the screen. Can a user (such as myself) store a program such that it is in the list with the examples? I understand how to keep the program in my Journal but there are programs I would like to use frequently and accessing them from the list would really be usefull.
Bill w
Availability on other distros
Wonderful intro to Python - captivated my daughter. Is anyone working it into Edubuntu?
Where she gets stuck is if she accidentally generates a syntax error. Some kind of fixup function would definitely help, even if it's pretty darned rudimentary.
Vik :v)
pippy module attributes
I'm working my way through the tutorial mentioned at the bottom of the wiki page (the ones based on code from a Commodore 64 book) and one of the examples fails: Bouncing Ball. The first line is "import pippy", which imports the module. That works fine, but the next line is apparently calling for a non-existant attribute.
Does anyone know where I can find a list of the attributes? thx --AuntiMame 21 feb 2008 19:05
Re: Compute Pi
Travis Hall wrote the pi computation demo http://wiki.laptop.org/go/User:Odel
There he asked how to increase the precision available to his code. Python has two relevant numeric types, integers and floating-point values. The former numeric type is of infinite precision, whereas the floating-point is an IEEE "double" of 64 bits. Accumulate your result as an integer and infer the decimal position by some other means.
School server ideas and thoughts
Are there any general ideas for adding school server content features to Pippy?
It can be as simple as:
> School Server - Lesson 1: Hello - Lesson 2: Getting Started -- Example 1.1 -- Example 1.2 - Lesson 3: Numbers 1, 2, 3...
The content can be served via http, rsync, ftp, scp, or any URI. A local copy would permit homework when disconnected from the school server.
It may be that some security issues need to be considered given the raw power of python and that students would be clicking on Run.
One value is that the instructor could expose lessons as needed in a structured way for the next class.
Http is interesting because the server can be setup for multiple languages. See the Apache documentation for an example. Translations can cover more than just words. Mango can replace Apples if apples are unknown. A "British" boot might hold more than just feet. etc.
Thanks, Tom Mitchell