kopia lustrzana https://github.com/micropython/micropython-lib
10 wiersze
171 B
Python
10 wiersze
171 B
Python
|
from multiprocessing import Process
|
||
|
|
||
|
def f(name):
|
||
|
print('hello', name)
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
p = Process(target=f, args=('bob',))
|
||
|
p.start()
|
||
|
p.join()
|