I'm trying to take the column headers of a table in an ASCII file. With these column headers I want to then loop through them and use them in a function to create individual graphs based on their data below.
I have the graphical side of things all done as it has been done manually typing out each different column but I want to condense the data down.
The column headers will range from around 4-30 columns.
I'm assuming I'll need to be able to iterate through them in form of
for i in headers:
If anyone could shed light on how to get the headers on their own so I can reference them I'd be grateful
Oli