File size: 238 Bytes
acc4386
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8

f = open('/home/xj/toolAugEnv/code/toolConstraint/database/background/citySet.txt','r').read().strip().split('\n')
citySet = []
for line in f:
    if line not in citySet:
        citySet.append(line.strip())
    else:
        print(line)