Last active
December 3, 2017 18:38
-
-
Save osori/63eba6359098f2a5801aa325309527e8 to your computer and use it in GitHub Desktop.
Unpickling in Python (Object de-serialization)
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 | |
with open("myobject.lq", "rb") as file: | |
my_obj = pickle.load(file) | |
# 이후 my_obj 는 일반적인 객체랑 똑같이 사용할 수 있다. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment