Pickling and unpickling

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.
What is LIST comprehensions features of Python used for?
What is LIST comprehensions features of Python used for? - LIST comprehensions features were introduced in Python version 2.0, it creates a new list based on existing list........
How is memory managed in python?
How is memory managed in python? - Memory management in Python involves a private heap containing all Python objects and data structures. Interpreter takes care of Python heap and that the programmer has no access to it.......
How do you make a higher order function in Python?
How do you make a higher order function in Python? - A higher-order function accepts one or more functions as input and returns a new function. Sometimes it is required to use function as data........
Post your comment