root/pyevilwm.py

Revision 1, 272 bytes (checked in by root, 3 years ago)

Initial commit

Line 
1import imp
2import thread
3import time
4
5pymain = imp.load_dynamic("pymain", "./pymain.so")
6
7def run(fun):
8    thread.start_new_thread(fun, ())
9    print "out"
10
11def f2():
12    while(True):
13        print "."
14        time.sleep(1)
15
16def tfun():
17    pymain.py_main("a", "b", "c")
Note: See TracBrowser for help on using the browser.