On Mar 5, 9:24 am, Marco Mariani <ma...@sferacarta.com> wrote:
> vibgyorbits wrote:
> > l=map(lambda x: '%02x' %ord(x),d)
> > s=string.join(l,sep='')
>
> > PS#. Endedup learning little bit of Lambda functions. :-)
>
> That's so 2007...
>
> The 2.5-esque way to write that is
>
> s = ''.join('%02x' % ord(x) for x in d)

Yes..:-) I totally agree..still learning some new stuff. SOme of you
folks are really good.
thanks again.. Although, next step would be to really get into the
algorithm complexity ,but right now
let me finish my tool & then dig into finer details.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to