Can this be a python thread now?
I'm learning python... sort of...self taught as I await to go on a course.
Question... I've managed to do a fair amount of googling and have this thing that attempts to do a VLOOKUP in a csv that has a very simple list of callsigns and station names i.e.
and so on... here's what I have.
callsign = input("Please enter the callsign ")
stations = csv.reader(open('stations.csv', 'r'))
for row in stations:
value = row
if value == callsign:
print (value + " = " + row)
I've tried to add a last line saying
but it just ends up printing every row that is invalid and then one row with the Station Name
any help please? I promise not to inundate with questions, but SO is a bit overwhelming at this n00b stage