Advertisement
Guest User

Untitled

a guest
Jul 18th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. import time
  2. from multiprocessing import Process
  3.  
  4. class Uno(Process):
  5.     def __init__(self):
  6.         Process.__init__(self)
  7.         self.start()
  8.  
  9.     def run(self):                
  10.         for i in range(0,10):
  11.             print('Test')
  12.             time.sleep(1)
  13.  
  14.  
  15. if __name__ == '__main__':
  16.     Uno()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement