Skip to content

Instantly share code, notes, and snippets.

@osori
Last active December 3, 2017 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osori/63eba6359098f2a5801aa325309527e8 to your computer and use it in GitHub Desktop.
Save osori/63eba6359098f2a5801aa325309527e8 to your computer and use it in GitHub Desktop.
Unpickling in Python (Object de-serialization)
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