<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thanks Alan. That said, any idea what it means in this context?</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">for key in skeys:<BR> fracmiss=1.*numberMissing(z[key].values())/nsites #note decimal multiplication, 1.*<BR> outstring="%s has %4.1f%% missing" % (key,100*fracmiss)<BR> if fracmiss >>0</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Alan Gauld <alan.gauld@btinternet.com><BR>To: tutor@python.org<BR>Sent: Saturday, July 28, 2007 5:03:05 PM<BR>Subject: Re: [Tutor] comparing lists, __lt__ and __gt__<BR><BR>
<DIV>"Sara Johnson" <sarliz73@yahoo.com> wrote<BR><BR>> What if there is a '<<' or '>>'?<BR>> Does that just mean the same thing (maybe a little over emphasized.. <BR>> ;)<BR><BR>The double chevron operator is for bit-shifting its not a camparison <BR>operation.<BR>So no operator override function exists.<BR><BR>> I thought I saw this when I was learning boolean expressions,<BR>> but I don't recall.<BR><BR>Possibly, because its often used to manipulate bitpatterns in<BR>conjunction with bitwise boolean comparisons (and/or/xor etc)<BR><BR>HTH,<BR><BR>-- <BR>Alan Gauld<BR>Author of the Learn to Program web site<BR><A href="http://www.freenetpages.co.uk/hp/alan.gauld" target=_blank>http://www.freenetpages.co.uk/hp/alan.gauld</A> <BR><BR><BR>_______________________________________________<BR>Tutor maillist - Tutor@python.org<BR><A href="http://mail.python.org/mailman/listinfo/tutor"
target=_blank>http://mail.python.org/mailman/listinfo/tutor</A></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
<hr size=1>Yahoo! oneSearch: Finally, <a href="http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC"> mobile search
that gives answers</a>, not web links.
</body></html>