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 are python libraries?

973


What does the meaning of slicing in python?

1036


What command do we use to debug a python program?

966


What are the disadvantages of the python?

1070


How to clone or copy a list in python?

920


What is list constructor in python?

902


How to create dynamic array in python?

1128


What is index out of range error?

1008


Is yield a keyword in python?

840


What are metaclasses in python?

887


What does time time () do in python?

869


What is difference between list and set in python?

916


Do you know the number of keywords in python? Why should you know them all?

903


How to declare the variables function in python?

1128


How long can an identifier be in python?

1108