I am trying to open/read a text file with multiple "sets" of values, some lists, some integers.
I am struggling to figure out what the best course of action to do this would be.
I have provided an example of the text file I am attempting to import and manipulate below. Basically, each line of the text file holds 6 values, and all these values relate to one another. My end goal is to be able to have almost a "list of list" set up so that I can define each set of six values almost as one.
Does anyone have any thoughts on this?
house, brick, 876, no, yes, 3
apartment, wood, 345, yes, yes, 1
condominium, brick, 453, no, yes, 8
etc...
My intended end point is to be able to categorize each variable (for example, building type == house
, material == brick
, etc. and be able to search through these.