can pythonista use pickles?
-
My python program relies heavily on pickles. Without pickles the thing will never work. Further, it would take an enormous amount of time to rebuild my program without pickles and I'm not willing to do that since I essentially use pythonista just to show off at parties or social events. Is there anyway to get these pickles to work or is there some type of work around?
-
@bobsmith76 Sorry but I can't help you:I don't know pickle.
Hoping somebody will help you
-
what about json? can pythonista handle json?
-
@bobsmith76 pickles are not text, they are binary. copy/paste from a text file wont work.
json and yaml are good alternatives.
or, just use file import of a zipped pkl.
or, post the file in a gist, or on github, and use stash git or wget to retrieve.
-
If I import a zipped pkl do I have to unzip it? If so how?
-
@bobsmith76 Tap on it and then extract archive
-
it automatically adds the .py extension to all files. so z_dict_words.pkl becomes z_dict_words.pkl.py. how do i rename files?
-
last edited by
-
... or PhoneManager > Rename :)
-
@cvp, Thanks that did it. Problem solved.