def read_stations(): stations = [] with open('stations_list.csv') as radio_stations_file: readCSV = csv.reader(radio_stations_file, delimiter=',') for csv_station in readCSV: stations.append(RadioStation.fromCSV(csv_station)) return stations