I am trying to write a program in python 2.6 which does the following:
prompts for input
selects that item in a csv file
displays only the data for that input
There are a total of 5 locations
A1, A2, A3,A4,A5
---
I can get the input, and I can read the whole csv file, then it prints the date, location, and course, for all of the locations, I only require the "date", "location", and "course" for that input
The input of say "A1" should only display the following:
Date Location Course
4-4-10 A1 web1
5-4-10 A1 web2
6-4-10 A1 web3
---------
csv file - test.txt
Date,Location,Course,Stage
4-4-10,A1,web1,1
4-4-10,A2,wev2,2
5-4-10,A1,web2,2
6-4-10,A1,web3,3