Advertisement
Guest User

Untitled

a guest
Mar 17th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. script.py
  2. -------------------------
  3. from multiprocessing import Process
  4. import time
  5. def a():
  6. while 1:
  7. time.sleep(1)
  8. print("hey")
  9. process = Process(target=a)
  10. #some codes here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement