"Doug Basberg" <[email protected]> writes:
> I would like to pass the contents of a dictionary from one program to
> another through a file.
The term for this in programming is “serialisation”, in the sense that a
specific series of bits will represent the Python value, and you want to
convert to and from that series of bits.
<URL:https://en.wikipedia.org/wiki/Serialization>
More generally, having data values persist beyond the life of a program
is termed “persistence” of the data.
> So, what is the elegant way to pass a dictionary by file?
The Python standard library has several serialisation / persistence tools.
<URL:https://docs.python.org/3/library/persistence.html>
--
\ “Software patents provide one more means of controlling access |
`\ to information. They are the tool of choice for the internet |
_o__) highwayman.” —Anthony Taylor |
Ben Finney
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor