Changes between Version 20 and Version 21 of IpaacaTutorial


Ignore:
Timestamp:
01/07/14 15:24:41 (6 years ago)
Author:
yaghoubzadeh
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IpaacaTutorial

    v20 v21  
    125125}}} 
    126126 
     127= Python: minimal example to manually send BML (current ipaaca interface*) = 
     128 
     129* will be replaced by a more rich interface soon (only minimal changes for users) 
     130 
     131{{{ 
     132import ipaaca 
     133 
     134my_outbuf = ipaaca.OutputBuffer('MyExampleBmlSender') 
     135iu = ipaaca.IU('bml') 
     136iu.payload = { 'bml':'<bml xmlns="http://www.bml-initiative.org/bml/bml-1.0" id="bml001"><speech id="s001"><text>Hallo, dies ist ein Test.</text></speech></bml>' } 
     137my_outbuf.add(iu) 
     138 
     139}}} 
     140 
     141 
    127142[[ViewTopic()]]