No subject
Sun Nov 12 08:01:13 CET 2006
sticking the python down the camel's throat and got camel puke. You
have whitespace for indentation, but all the regexy crap and extraneous
?'s and $'s that make it ugly.
-lets-make-a-language-named-perl-so-we-can-cast-it-to-swine-ly yours,
Drew
--
import string,sys;t=string;f=t.index;j=t.join;print(lambda
s:j(map(lambda
x,s=s:x[:f(x,':')+2]+j(map(lambda y:'%02X'%ord(y),x[f(x,':')+2:]),'
'),map
(lambda i,s=s:("%04X: "%
i)+s[i:i+16],range(0,len(s),16))),'\n'))(open(sys.
argv[1]).read())
More information about the Python-list
mailing list