Created
July 22, 2018 18:57
-
-
Save Fhernd/a1679a3e848d3cf994ad0ed0d07c61bd to your computer and use it in GitHub Desktop.
Serialización de datos en Python con el módulo pickle. OrtizOL.
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
import pickle | |
datos = ['Python 2', 'Python 3', '...', 'Python 5'] | |
with open('datos.ser', 'wb') as f: | |
pickle.dump(datos, f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment