<?xml version='1.0' encoding='iso-8859-1' ?>
<!--
- Copyright (C) 2006-2013 CEA/DEN, EDF R&D
+ Copyright (C) 2006-2016 CEA/DEN, EDF R&D
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
- version 2.1 of the License.
+ version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-->
<proc name="TestDistPython2">
- <property name="DefaultStudyID" value="1"/>
<type name="string" kind="string"/>
<struct name="Engines/dataref">
<member name="ref" type="string"/>
<remote name="Node6">
<script>
<code><![CDATA[
-print "coucou, x=",x
-print "coucou, a=",a
-print "my_container=",my_container
+print("coucou, x=",x)
+print("coucou, a=",a)
+print("my_container=",my_container)
y= x+" OK ca marche"+str(a)
z=2*a+4.7
-print y,z
+print(y,z)
]]></code>
</script>
<load container="cont1"/>
</remote>
<inline name="node2">
<script><code><![CDATA[
-print "dans node2 p1=",p1
-print "dans node2 p2=",p2
+print("dans node2 p1=",p1)
+print("dans node2 p2=",p2)
]]></code></script>
<inport name="p1" type="string"/>
<inport name="p2" type="double"/>