tests/projects/opcua_client/py_ext_0@py_ext/pyfile.xml
branchwxPython4
changeset 3561 77252e67d0d6
equal deleted inserted replaced
3560:f0ed67b01a9d 3561:77252e67d0d6
       
     1 <?xml version='1.0' encoding='utf-8'?>
       
     2 <PyFile xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       
     3   <variables/>
       
     4   <globals>
       
     5     <xhtml:p><![CDATA[
       
     6 import sys
       
     7 def pfunc(arg):
       
     8     sys.stdout.write(arg)
       
     9     sys.stdout.flush()
       
    10 
       
    11 pfunc("globals section\n")
       
    12 
       
    13 ]]></xhtml:p>
       
    14   </globals>
       
    15   <init>
       
    16     <xhtml:p><![CDATA[
       
    17 pfunc("init section\n")
       
    18 ]]></xhtml:p>
       
    19   </init>
       
    20   <cleanup>
       
    21     <xhtml:p><![CDATA[
       
    22 pfunc("cleanup section\n")
       
    23 ]]></xhtml:p>
       
    24   </cleanup>
       
    25   <start>
       
    26     <xhtml:p><![CDATA[
       
    27 pfunc("start section\n")
       
    28 ]]></xhtml:p>
       
    29   </start>
       
    30   <stop>
       
    31     <xhtml:p><![CDATA[
       
    32 pfunc("stop section\n")
       
    33 
       
    34 ]]></xhtml:p>
       
    35   </stop>
       
    36 </PyFile>