On Fri, Jan 15, 2010 at 4:00 PM, Baishampayan Ghose <b.gh...@gmail.com>wrote:

> > It is a clever hack, taking advantage of the nature of the data. But
> > it is far more faster than the other approaches posted here.
>
> I thought eval was evil :)
>

Given that the OPs data is fixed, eval is okay. :)

Otherwise, it could be evil or unreliable (eg. => inside some of the data
strings etc.)


-- 
~noufal
http://nibrahim.net.in
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to