Is there any analog of perl's pack()/unpack() in Python?

Moshe Zadka moshez at
Mon Dec 25 12:29:33 EST 2000

On Mon, 25 Dec 2000, "Alexander Semenov" <sav at> wrote:

> Is there any way to read/write file with binary coded numbers in it?

The struct module.
Moshe Zadka <sig at>
This is a signature anti-virus. 
Please stop the spread of signature viruses!

More information about the Python-list mailing list