Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created February 16, 2018 12:00
Show Gist options
  • Save Fhernd/546e0ed20f9bc01b31f5b2ee93a67fbb to your computer and use it in GitHub Desktop.
Save Fhernd/546e0ed20f9bc01b31f5b2ee93a67fbb to your computer and use it in GitHub Desktop.
Creación de un proceso en Python.
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