import csv


def into_list(fin):
    """
    Read data from file into a list.
    Lines with '#' are not read.

    Parameters
    ----------
    fIn : str
      Path to input file
     """
    fIn = open(fin,'r')
    fInReader = csv.reader(
        fIn,delimiter = ',', quotechar = ' ', quoting = csv.QUOTE_NONE)
    lst = [l[0] for l in fInReader if '#' not in l]
    fIn.close()
    return lst