Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain pickling and unpickling.

Answer Posted / chaitanya

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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the output of the following code and why?

862


Why cannot lambda forms in Python contain statements?

1120


Python read a single character from the user?

975


What is __ init __( self in python?

990


Can a class run without constructor?

841


Differentiate between .py and .pyc files?

849


How do I run a py file in python shell?

863


What does exit () do in python?

838


How do you use return in python?

986


Which is best python or r?

807


What is slug in python?

874


Explain the difference between append vs extend in list?

905


What is the best code you can write to swap two numbers?

884


Why do you use abstract classes?

876


What is a function call or a callable object in python?

860