Question about binary file reading

vibgyorbits bkajey at gmail.com
Thu Mar 5 10:17:15 EST 2009


k,thanks all.

l=map(lambda x: '%02x' %ord(x),d)
s=string.join(l,sep='')

PS#. Endedup learning little bit of Lambda functions. :-)

Scott David Daniels   	 <<< Thanks for your wisdom about the "spaces".
Its a 3 liner code-snippet!



More information about the Python-list mailing list