<div>Oh geez...where do I even start...</div><div><br></div>First, I also have a love hate relationship with re., but I guess that's more because of regex than re itself. But over time I seen to have gotten better at identifying what I shouldn't use regex for. Hybrid regex solutions seems to be the most maintainable in a lot of cases.<div>
<br></div><div>itertools, pprint, json, csv, contextlib makes me happy.</div><div><br></div><div>urllib etc. is surprisingly useful at random times...</div><div><br></div><div>There's just too much good stuff! I can't decide which my favorite is.</div>
<div><br></div><div>- Andrew</div><div><br><div class="gmail_quote">On Thu, Jun 16, 2011 at 6:07 PM, Alex Chang <span dir="ltr"><<a href="mailto:maverick.chang@gmail.com">maverick.chang@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">regexbuddy has made regex-ing alot quicker for me. if you dont use<br>
it, highly recommend checking it out.<br>
<div><div></div><div class="h5"><br>
On Thursday, June 16, 2011, Daniel Greenfeld <<a href="mailto:pydanny@gmail.com">pydanny@gmail.com</a>> wrote:<br>
> This is a tough one. I change my mind on it every day.<br>
><br>
> Today my favorite is JSON because it lets me serialize data for<br>
> storage or messages so trivially. And unlike Pickle everything in the<br>
> world can read in a JSON file.<br>
><br>
> Danny<br>
><br>
> On Thu, Jun 16, 2011 at 5:22 PM, Christopher Mahan<br>
> <<a href="mailto:chris.mahan@gmail.com">chris.mahan@gmail.com</a>> wrote:<br>
>> I find that when I use regular expressions, I end up maintaining the code,<br>
>> cuz nobody else wants to touch it, so I avoid it.<br>
>><br>
>> Christopher Mahan<br>
>> <a href="tel:818.671.1709" value="+18186711709">818.671.1709</a><br>
>> <a href="mailto:chris.mahan@gmail.com">chris.mahan@gmail.com</a><br>
>> <a href="http://christophermahan.com" target="_blank">http://christophermahan.com</a><br>
>><br>
>> On Jun 16, 2011 5:19 PM, "Grig Gheorghiu" <<a href="mailto:grig.gheorghiu@gmail.com">grig.gheorghiu@gmail.com</a>> wrote:<br>
>>> I use regular expressions a lot in my code, so I have a love/hate<br>
>>> relationship with the 're' module. It's not a favorite necessarily,<br>
>>> but other than os and system it's probably the one I use most. This is<br>
>>> one area of Python (probably the only area) that I wish was as<br>
>>> polished as Perl's ;-)<br>
>>><br>
>>> Grig<br>
>>><br>
>>> _______________________________________________<br>
>>> socal-piggies mailing list<br>
>>> <a href="mailto:socal-piggies@lists.idyll.org">socal-piggies@lists.idyll.org</a><br>
>>> <a href="http://lists.idyll.org/listinfo/socal-piggies" target="_blank">http://lists.idyll.org/listinfo/socal-piggies</a><br>
>><br>
>> _______________________________________________<br>
>> socal-piggies mailing list<br>
>> <a href="mailto:socal-piggies@lists.idyll.org">socal-piggies@lists.idyll.org</a><br>
>> <a href="http://lists.idyll.org/listinfo/socal-piggies" target="_blank">http://lists.idyll.org/listinfo/socal-piggies</a><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> 'Knowledge is Power'<br>
> Daniel Greenfeld<br>
> <a href="http://pydanny.com" target="_blank">http://pydanny.com</a><br>
> <a href="http://cartwheelweb.com" target="_blank">http://cartwheelweb.com</a><br>
><br>
> _______________________________________________<br>
> socal-piggies mailing list<br>
> <a href="mailto:socal-piggies@lists.idyll.org">socal-piggies@lists.idyll.org</a><br>
> <a href="http://lists.idyll.org/listinfo/socal-piggies" target="_blank">http://lists.idyll.org/listinfo/socal-piggies</a><br>
><br>
<br>
_______________________________________________<br>
socal-piggies mailing list<br>
<a href="mailto:socal-piggies@lists.idyll.org">socal-piggies@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/socal-piggies" target="_blank">http://lists.idyll.org/listinfo/socal-piggies</a><br>
</div></div></blockquote></div><br></div>