Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- from multiprocessing import Process
- class Uno(Process):
- def __init__(self):
- Process.__init__(self)
- self.start()
- def run(self):
- for i in range(0,10):
- print('Test')
- time.sleep(1)
- if __name__ == '__main__':
- Uno()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement