tests/win32/wxGlade/runtime.py
author btaylor@grond.willowglen.ab.ca
Mon, 06 Jul 2009 11:27:06 -0600
changeset 357 19db1076e93c
parent 315 408dd4b44ec8
permissions -rw-r--r--
close ZeroConf object when exiting the Service Discovery window.
(otherwise pythonw.exe does not exit when closing Beremiz on Windows)
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