tests/win32/wxGlade/runtime.py
author greg
Mon, 18 May 2009 07:58:41 +0200
changeset 345 a3520d75a722
parent 315 408dd4b44ec8
permissions -rw-r--r--
get the WaitPythonCommands return (semaphore error code) to quit python_iterator loop when semaphore is destroyed
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