File size: 238 Bytes
9be4956
 
 
 
 
 
 
 
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)