This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="margin-left:10px; margin-top:10px; margin-right:10px; margin-bottom: 10px;"> | |
<h5 style="margin-bottom:0px; margin-top:0px" class="medium-text">Proceedings of the 37th international ACM SIGIR conference on Research & development in information retrieval</h5> | |
<h5 class="medium-text" style="margin-bottom:10px; margin-top:10px;">Table of Contents</h5> | |
<div style="clear:both"> | |
<div style="margin-top:5px; margin-bottom: 10px;" class="small-text"><a href="citation.cfm?id=2484028&picked=prox&CFID=461421606&CFTOKEN=32764827" title="previous: SIGIR '13"><img hspace="5" align="absmiddle" border="0" src="img/prev.gif" width="19" height="11" alt="previous">previous proceeding</a> <span style="padding-left:5px;padding-right:5px;">|</span><span class="link-text">no next proceeding</span></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 | |
sum(x * y for x in a for y in b) | |
# 2 | |
sum([x * y for x in a for y in b]) | |
# 3 | |
a * b | |
# 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 | |
dict([(x, x**2) for x in range(N)]) | |
# 2 | |
dict({(x, x**2) for x in range(N)}) | |
# 3 | |
dict((x, x**2) for x in range(N)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ARange(N): | |
if N < 1: | |
return | |
q = (N - 1) // 4 | |
i = 0 | |
while i < q: | |
yield i | |
i += 1 | |
yield i | |
i += 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NotSoClever: | |
def __init__(a): | |
field = a | |
def printField(): | |
print(field) | |
if __name__ == '__main__': | |
r = NotSoClever() | |
r.printField() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import os | |
def make_detailed_fname(basedir, dirpath, fname): | |
return dirpath[len(basedir):].replace('!', '').replace(' ', '_')\ | |
.replace('/', '_') + '_' + fname | |
if __name__ == '__main__': |