I saved my pickle file called keys.p in my desktop. But when I try to unpickle I get the error no such file or directory found.
Asked
Active
Viewed 68 times
0
-
how would i do this? – Bosiff Mar 19 '18 at 19:48
-
You should check the path to keys.p. In particular, you seem to open `filename.p` and not `keys.p`. BTW, your conventions seem weird: usually, the extension is `pkl` and not `p`, while you do not close the file. See https://stackoverflow.com/q/17985224/4986615 – guhur Aug 14 '18 at 14:46