Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/build/html/pippy.html
blob: d14577b351693c86b4ea4896161fad49e6d88574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Pippy &mdash; Sugar 0.94 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '0.94',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="author" title="About these documents" href="about.html" />
    <link rel="top" title="Sugar 0.94 documentation" href="index.html" />
    <link rel="next" title="Portfolio" href="portfolio.html" />
    <link rel="prev" title="Paint" href="paint.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="portfolio.html" title="Portfolio"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="paint.html" title="Paint"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">Sugar 0.94 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="pippy">
<h1>Pippy<a class="headerlink" href="#pippy" title="Permalink to this headline">¶</a></h1>
<div class="section" id="about">
<h2>About<a class="headerlink" href="#about" title="Permalink to this headline">¶</a></h2>
<p>Pippy allows the student to examine, execute, and modify simple Python programs. In addition it is possible to write Python statements to play sounds, calculate expressions, or make simple text based interactive games.</p>
</div>
<div class="section" id="where-to-get-pippy">
<h2>Where to get Pippy<a class="headerlink" href="#where-to-get-pippy" title="Permalink to this headline">¶</a></h2>
<p>Pippy is included in the standard releases of the OLPC software. It is available for download <a class="reference external" href="http://activities.sugarlabs.org/en-US/sugar/addon/4041">here</a></p>
</div>
<div class="section" id="using">
<h2>Using<a class="headerlink" href="#using" title="Permalink to this headline">¶</a></h2>
<p>The left column is a list of python programs, which can be viewed, and modified in the upper right window, and where the results of execution are displayed in the lower right window.</p>
<img alt="_images/Pippy-run.png" src="_images/Pippy-run.png" />
</div>
<div class="section" id="learning-with-pippy">
<h2>Learning with Pippy<a class="headerlink" href="#learning-with-pippy" title="Permalink to this headline">¶</a></h2>
<p>Etoys and Turtle art provide easy introduction to programming. Pippy introduces a more traditional view of programming a computer, wherein the instructions are first written to a text file, and then executed with a &#8220;run&#8221; command.</p>
<p>In particular, it is instructive to play with the sounds:</p>
<ol class="arabic simple">
<li>Get the list of sounds by executing the Getsoundlist program</li>
<li>Copy the name of one of the sounds and replace the &#8220;digeridu&#8221; sound name in Playwave program.</li>
</ol>
</div>
<div class="section" id="extending-pippy">
<h2>Extending Pippy<a class="headerlink" href="#extending-pippy" title="Permalink to this headline">¶</a></h2>
<p>If Pippy is used in parallel with the Write Activity, it is possible to develop  larger programs. Copy the program that you develop in the Write Activity by selecting all (&lt;ctl&gt;a) and copying it to the clipboard (&lt;ctl&gt;c), then switch to the Pippy Activity, and paste (&lt;ctl&gt;v) it into the code window. If there are errors that you want to correct, you can make the changes in the code window, and immediately see the results of your changes. Then by copying the changed program back to the clipboard, you can paste it back into the Word Activity, and save the changes to the Journal.</p>
</div>
<div class="section" id="modifying-pippy">
<h2>Modifying Pippy<a class="headerlink" href="#modifying-pippy" title="Permalink to this headline">¶</a></h2>
<p>The student can add small programs, and have them show up in the left column of Pippy by adding files to /home/olpc/Activities/Pippy.activity/data. There is a large number of suggested examples of programs for Pippy at <a class="reference external" href="http://wiki.laptop.org/go/Pippy#Examples">http://wiki.laptop.org/go/Pippy#Examples</a>.</p>
</div>
<div class="section" id="where-to-report-problems">
<h2>Where to report problems<a class="headerlink" href="#where-to-report-problems" title="Permalink to this headline">¶</a></h2>
<p>There&#8217;s a range of ways to report problems. The easiest is to email to the sugarlabs email list at <a class="reference external" href="mailto:sugar-devel&#37;&#52;&#48;lists&#46;sugarlabs&#46;org">sugar-devel<span>&#64;</span>lists<span>&#46;</span>sugarlabs<span>&#46;</span>org</a>. Someone on the list will respond to you, and perhaps also put a formal bug report at <a class="reference external" href="http://bugs.sugarlabs.org/">http://bugs.sugarlabs.org/</a>.</p>
<p>Or you can register at <a class="reference external" href="http://bugs.sugarlabs.org/">http://bugs.sugarlabs.org/</a> and enter a bug report yourself.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">author:</th><td class="field-body">G Hunt 2012</td>
</tr>
</tbody>
</table>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Pippy</a><ul>
<li><a class="reference internal" href="#about">About</a></li>
<li><a class="reference internal" href="#where-to-get-pippy">Where to get Pippy</a></li>
<li><a class="reference internal" href="#using">Using</a></li>
<li><a class="reference internal" href="#learning-with-pippy">Learning with Pippy</a></li>
<li><a class="reference internal" href="#extending-pippy">Extending Pippy</a></li>
<li><a class="reference internal" href="#modifying-pippy">Modifying Pippy</a></li>
<li><a class="reference internal" href="#where-to-report-problems">Where to report problems</a></li>
</ul>
</li>
</ul>

        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="portfolio.html" title="Portfolio"
             >next</a></li>
        <li class="right" >
          <a href="paint.html" title="Paint"
             >previous</a> |</li>
        <li><a href="index.html">Sugar 0.94 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2013, SugarLabs.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>