Greetings. I'm new to Python programming, but I'm coming along. I'm having an issue trying to pull data from a CSV file created by an Excel spreadsheet (save as... csv function).
What I need to do is search through a list (rows) of data for a specific match to one of the columns, then pull that row of data into some variables.
The information looks like this in the Excel Spreadsheet:
100,102,20,0,FC ,0,0,0,C,0,0,0, 140000
295,343,83,25,F C,3,1,0,C,D342, 0,0,530019
The 3rd column (showing 20 in the first row and 83 in the second row) is the data that I am evaluating for a match, and if a match is found I need to pull all the data from the row and put it into individual variables for use in the script.
I could make the 3rd column the 1st column instead, if it will help speed up the search process or make it easier.
Any ideas?
What I need to do is search through a list (rows) of data for a specific match to one of the columns, then pull that row of data into some variables.
The information looks like this in the Excel Spreadsheet:
100,102,20,0,FC ,0,0,0,C,0,0,0, 140000
295,343,83,25,F C,3,1,0,C,D342, 0,0,530019
The 3rd column (showing 20 in the first row and 83 in the second row) is the data that I am evaluating for a match, and if a match is found I need to pull all the data from the row and put it into individual variables for use in the script.
I could make the 3rd column the 1st column instead, if it will help speed up the search process or make it easier.
Any ideas?
Comment