+ 2

what is the use of pickle in python?

import pickle

9th Aug 2020, 7:27 AM
Nithish
Nithish - avatar
4 Respostas
+ 6
Just an additional comment, to what Yasha mentioned. The object created from pickle can be written to a file. In this way, the object can be restored and used again at a later point in time.
9th Aug 2020, 1:45 PM
Lothar
Lothar - avatar
+ 5
The pickle module can transform a complex object into a byte stream and it can transform the byte stream into an object with the same internal structure.
9th Aug 2020, 8:02 AM
Lexi Rockelle Smith
Lexi Rockelle Smith - avatar
- 1
Yasha Vice versa word can be very effective in your statement, hehe just newly learn this word😅
9th Aug 2020, 6:28 PM
Angus👑
Angus👑 - avatar