Perl's pack/unpack functions

Matthew Diephouse fokke_wulf at hotmail.com
Fri May 17 16:54:01 EDT 2002


I'm looking at learning Python, and the first app I want to write needs 
to be able to take a binary file and pack/unpack the data into hex form, 
and then into binary form. In Perl, you can do this using pack/unpack, 
but I don't see these functions in Python. So how would you do this in 
Python?

	md |- m:att d:iephouse




More information about the Python-list mailing list