Explain pickling and unpickling.

  • Pickle is a standard module which serializes & de-serializes a python object structure.
  • Pickle module accepts any python object converts it into a string representation & dumps it into a file(by using dump() function) which can be used later, process is called pickling.
  • Whereas unpickling is process of retrieving original python object from the stored string representation for use.

No comments:

Post a Comment