2 Copyright (C) 2006-2019 CEA/DEN, EDF R&D
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 <container name="A"> </container>
25 <forloop name="b1" nsteps="5">
26 <sinline name="node1" >
28 <code>import salome</code>
29 <code>salome.salome_init()</code>
30 <code>import PYHELLO_ORB</code>
31 <code>def f(p1):</code>
32 <code> print(__container__from__YACS__)</code>
33 <code> machine,container=__container__from__YACS__.split('/')</code>
34 <code> param={}</code>
35 <code> param['hostname']=machine</code>
36 <code> param['container_name']=container</code>
37 <code> compo=salome.lcc.LoadComponent(param, "PYHELLO")</code>
38 <code> print(compo.makeBanner(p1))</code>
39 <code> print(p1)</code>
42 <inport name="p1" type="string"/>
49 <tonode>b1.node1</tonode> <toport>p1</toport>
50 <value><string>chris</string> </value>