00001 import syncExec 00002 import java.lang.Runnable as Runnable 00003 00004 class MyRunnable(Runnable): 00005 def run(self): 00006 print "a" 00007 return None 00008 00009 syncExec.Exec(MyRunnable()) 00010