Skip to content

Instantly share code, notes, and snippets.

@osori
Last active December 3, 2017 18:28
Show Gist options
  • Save osori/8208fdad72b6bee6c9449316856d5683 to your computer and use it in GitHub Desktop.
Save osori/8208fdad72b6bee6c9449316856d5683 to your computer and use it in GitHub Desktop.
Pickling in Python (Object serialization)
import pickle
with open("myobject.lq", "wb") as file:
pickle.dump(object(), file)
# object() 자리에 파일로 내보내고 싶은 객체를 넣으면 된다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment