Created
February 16, 2018 12:00
-
-
Save Fhernd/546e0ed20f9bc01b31f5b2ee93a67fbb to your computer and use it in GitHub Desktop.
Creación de un proceso en Python.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from multiprocessing import Process | |
def guardar_informacion(): | |
print ('Los datos se han guardado.') | |
if __name__ == '__main__': | |
proceso = Process(target=guardar_informacion) | |
proceso.start() | |
proceso.join() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment