Presenting output from md5.digest like md5sum from GNU textutils

Pål Sollie sollie at saint-etienne.no
Mon May 29 14:06:25 CEST 2000


Being a clueless newbie at Python I have no idea how to do this.

I am trying to write a script that is to save the checksum of all the
specified files to a database. I'd like to convert the output I get
from md5.digest to a human-readable format. Decimal values would be
OK, but I'd be thrilled to get the same output as md5sum from GNU
textutils.

-- 
Pål Sollie
sparkz at ikke.no
sollie at bitemyshinymetalass.com



More information about the Python-list mailing list