source: crossref.py @ 38:8a694e2a6847

Revision 38:8a694e2a6847, 323 bytes checked in by hagenbruch@phoibe.ub.rub.de, 6 years ago (diff)

Version 0.3

Line 
1data = open('crossref.lst', 'r')
2issn_file = open('peer_reviewed.py', 'w')
3
4issns = set()
5for line in data:
6    parts = line.split('\t')
7    #print parts
8    issns.add(parts[0])
9
10#print issns
11#print len(issns)
12
13issn_file.write('issns = [\n')
14for issn in issns:
15    issn_file.write("\t'%s',\n" % issn)
16issn_file.write(']\n')
Note: See TracBrowser for help on using the repository browser.