Advertisement
Fhernd

crear-proceso.py

Feb 16th, 2018
874
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. from multiprocessing import Process
  2.  
  3. def guardar_informacion():
  4.     print ('Los datos se han guardado.')
  5.    
  6.  
  7. if __name__ == '__main__':
  8.     proceso = Process(target=guardar_informacion)
  9.     proceso.start()
  10.     proceso.join()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement