Presenting output from md5.digest like md5sum from GNU textutils

Pål Sollie sollie at
Mon May 29 08:06:25 EDT 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

Pål Sollie
sparkz at
sollie at

More information about the Python-list mailing list