<s> from __future__ import absolute_import , unicode_literals <EOL> import csv <EOL> import os <EOL> import codecs <EOL> class TopUsCities ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> path = os . path . dirname ( os . path . realpath ( __file__ ) ) <EOL> self . cities = [ ] <EOL> with codecs . open ( os . path . join ( path , '<STR_LIT>' ) , <EOL> encoding = '<STR_LIT:utf-8>' ) as csvfile : <EOL> reader = csv . reader ( csvfile ) <EOL> for row in reader : <EOL> self . cities . append ( '<STR_LIT>' % ( row [ <NUM_LIT:0> ] . strip ( ) , row [ <NUM_LIT:1> ] . strip ( ) ) ) <EOL> def __call__ ( self ) : <EOL> return self . cities </s>
