tests/linux/wxGlade/runtime.py
author greg
Tue, 19 May 2009 09:18:50 +0200
changeset 346 abc5abffbc61
parent 315 408dd4b44ec8
permissions -rw-r--r--
add python_gear block (to execute python command each given cycle interval)
315
408dd4b44ec8 Dispatch wxGlade tests in linux and win32 folders
greg
parents:
diff changeset
     1
import time,sys
408dd4b44ec8 Dispatch wxGlade tests in linux and win32 folders
greg
parents:
diff changeset
     2
def myprintfunc(arg):
408dd4b44ec8 Dispatch wxGlade tests in linux and win32 folders
greg
parents:
diff changeset
     3
    print arg
408dd4b44ec8 Dispatch wxGlade tests in linux and win32 folders
greg
parents:
diff changeset
     4
    sys.stdout.flush()
408dd4b44ec8 Dispatch wxGlade tests in linux and win32 folders
greg
parents:
diff changeset
     5
    return arg