I have a file like this :
one:two:three
four:five:six
seven:height:nine
And so on... What I want is to parse it correctly to obtain this kind of variable:
myVar = [("one", "two", "three"), ("four", "five", "six"), ("seven", "height", "nine")]
Of course, the file isn't stopping at nine, there's a lot more of lines after that.
How can I do that in Python ?
Thanks !