ImportError: Import by filename is not supported when unpickleing
Lutz Horn
lutz.horn at posteo.de
Thu Jul 28 10:01:34 EDT 2016
Hi,
Am 07/28/2016 um 03:48 PM schrieb Larry Martell:
> Thanks, but I have abandoned using pickle. I am now converting my
> objects to JSON, writing them to files, passing the file names to
> the process and reading them in and converting them back to objects
> there. In addition to that working, it makes the process much easier
> to debug.
I think that is a very good idea. JSON is the universal format today and
mapping to and from Python is very easy.
Lutz
--
https://www.lhorn.de/
https://emailselfdefense.fsf.org/de/
More information about the Python-list
mailing list