Development Team/Almanac/Code Snippets: Difference between revisions

Leejc (talk | contribs)
Added csound snippet from mailing list
Leejc (talk | contribs)
Added process info from mailing list
Line 55: Line 55:
  playWave(sound='triangle')
  playWave(sound='triangle')
  audioOut()
  audioOut()
== Processes ==
* [http://lists.laptop.org/pipermail/sugar/2007-October/003596.html Starting an external process]
: Use Python's [http://docs.python.org/lib/module-subprocess.html subprocess module].
* [http://lists.laptop.org/pipermail/sugar/2007-October/003597.html Starting a binary activity instead of a Python activity]
: Set the "exec" property of the <tt>activity.info</tt> file to your binary.


== Not yet sorted ==
== Not yet sorted ==