<div><span style="color: rgb(160, 160, 168); ">On Tuesday, February 26, 2013 at 7:06 PM, Chris Jerdonek wrote:</span></div>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>On Tue, Feb 26, 2013 at 2:08 PM, Donald Stufft <<a href="mailto:donald.stufft@gmail.com">donald.stufft@gmail.com</a>> wrote:</div><blockquote type="cite"><div><div>In [45]: l = [x for x in releases if any([y for y in x[1].split(".") if</div><div>y.startswith("0") and y.isdigit() and not y.endswith("0")])]</div><div><br></div><div>In [46]: len(l)</div><div>Out[46]: 1162</div><div><br></div><div>Note this doesn't check if they have confusing versions, (e.g. 1.1 and 1.01)</div><div>just if they</div><div>have a segment with a leading 0.</div></div></blockquote><div><br></div><div>Thanks.  Probably not worth doing again, but should the last part be y</div><div>!= "0" to include cases like "010" and "00"?</div><div><br></div><div>--Chris</div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    I happened to still have that console open,
                </div><div><br></div><div><div>In [49]: len([x for x in releases if any([y for y in x[1].split(".") if y.startswith("0") and y.isdigit() and y != "0"])])</div><div>Out[49]: 1236</div></div><div><br></div><div><div>In [52]: len([x for x in releases if any([y for y in x[1].split(".") if y.startswith("0") and y.isdigit() and int(y) != 0])])</div><div>Out[52]: 1177</div></div>