Yes, the array module can read most numeric formats from strings
(where they are expressed in machine format) or files. It can also
write them back. An alternative would be to use the struct module,
which can also convert between strings containing machine format
numbers and Python values.
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
<URL:http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>