Created
October 22, 2018 02:59
-
-
Save philippbayer/4e322277c73976e5f17057ad0056d991 to your computer and use it in GitHub Desktop.
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
''' First line of authors.txt is a comma-delimited list of authors of the suggested paper | |
Second line is a comma delimited list of suggested reviewers''' | |
names = open('./authors.txt').readlines() | |
first = ['"%s"'%x.strip() for x in names[0].rstrip().split(',')] | |
second = ['"%s"'%x.strip() for x in names[1].rstrip().split(',')] | |
print(first) | |
print(second) | |
import os | |
for a in first: | |
for b in second: | |
print('Pair: %s and %s'%(a,b)) | |
print(os.popen('python2 scholar.py -a %s,%s'%(a,b)).read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment