tests/python/python@py_ext/py_ext.xml
changeset 734 5c42cafaee15
parent 728 e0424e96e3fd
child 859 dbf82971f09d
equal deleted inserted replaced
733:915be999f3f0 734:5c42cafaee15
     1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
     1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
     2 <Python xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="py_ext_xsd.xsd">
     2 <Python xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="py_ext_xsd.xsd">
     3 <![CDATA[import time,sys
     3 <![CDATA[import time,sys
     4 def myprintfunc(arg):
     4 
       
     5 def MyPythonFunc(arg):
     5     print arg
     6     print arg
       
     7     PLCBinary.Python_to_C_Call(arg)
     6     sys.stdout.flush()
     8     sys.stdout.flush()
     7     return arg]]>
     9     return arg
       
    10 ]]>
     8 </Python>
    11 </Python>