Update Gui testing

This commit is contained in:
Lerking
2018-02-27 13:18:20 +01:00
committed by GitHub
parent 1a978407c0
commit 4280264fa6
11 changed files with 1355 additions and 60 deletions
+18
View File
@@ -0,0 +1,18 @@
from multiprocessing import Process
import os
def info(title):
print(title)
print('module name:', __name__)
print('parent process:', os.getppid())
print('process id:', os.getpid())
def f(name):
info('function f')
print('hello', name)
if __name__ == '__main__':
info('main line')
p = Process(target=f, args=('bob',))
p.start()
p.join()