(class_file_name)
return names
loads class name from a file
loads class name from a file
loads class name from a file
def read_class_names(class_file_name):
    '''loads class name from a file'''
    names = {}
    with open(class_file_name, 'r') as data:
        for ID, name in enumerate(data):
            names[ID] = name.strip('\n')
    return names
def read_class_names ( class_file_name ) : names = { } with open ( class_file_name , 'r' ) as data : for ID , name in enumerate ( data ) : names [ ID ] = name . strip ( '\n' ) return names