exemples/python/py_ext_0@py_ext/pyfile.xml
changeset 3814 ab0afe798428
parent 3318 aee9e98c856a
--- a/exemples/python/py_ext_0@py_ext/pyfile.xml	Mon May 22 14:38:25 2023 +0200
+++ b/exemples/python/py_ext_0@py_ext/pyfile.xml	Mon May 22 14:40:49 2023 +0200
@@ -6,19 +6,19 @@
   </variables>
   <globals>
     <xhtml:p><![CDATA[
-print "All python PLC globals variables :", PLCGlobalsDesc
-print "Current extention name :", __ext_name__
+print("All python PLC globals variables :", PLCGlobalsDesc)
+print("Current extention name :", __ext_name__)
 
 def MyFunc(*args):
-    print args
+    print(args)
 
 def MyOtherFunc(*args):
-    print "other", args
+    print("other", args)
 
 def SomeChange(*args):
-    print "count",OnChange.SomeVarName.count
-    print "first",OnChange.SomeVarName.first
-    print "last",OnChange.SomeVarName.last
+    print("count",OnChange.SomeVarName.count)
+    print("first",OnChange.SomeVarName.first)
+    print("last",OnChange.SomeVarName.last)
 
 
 ]]></xhtml:p>