tests/python/python@python/python.xml
author edouard
Thu, 17 Feb 2011 17:04:10 +0100
changeset 574 1b6bd9f590aa
parent 366 cd90e4c10261
permissions -rw-r--r--
Prevent status polling to generate an error while PLC is being reset to bootloader mode
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Python xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="python_xsd.xsd">
<![CDATA[import time,sys
def myprintfunc(arg):
    print arg
    sys.stdout.flush()
    return arg]]>
</Python>