+ 10

[PythonEdu] How to use 'pickle' module

In an attempt to launch an education-related section of Q&A, I prepared a small script on how to use 'pickle' module in Python. It is used to store data in files and to retrieve it later on. The code is accessible here: https://code.sololearn.com/cNXRdhIOg17U/?ref=app

5th Mar 2017, 11:54 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
5 ответов
+ 6
@StarLord I also tried to access remote files from here, but encountered memory limit :(
5th Mar 2017, 1:03 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 5
Well, we can, but only for the time being of the code's execution. We cannot store files here (other than codes themselves). The 'How to use pickle' code creates a file and stores data in it. However, it is being done in the virtual environment of SoloLearn, so once it ceases to exist, all storage is lost.
5th Mar 2017, 12:31 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 3
Thank you for your help Mr. Kuba!
5th Mar 2017, 12:46 PM
Ali Emir Kızıl
Ali Emir Kızıl - avatar