Hi python fans, hope someone can help me with this.
I have a text file the result of another program which looks like:
2,6,3,5,0
4,0,2,5,2
5,7,9,1,0
4,6,8,2,5
2,7,9,1,6
This may vary in size but will always be square i.e. 5x5, 9x9 etc so the code needs to accomodate this, the maximum ever size will probably be 12x12.
I want python code which will read in the text file and store it in a way I may then access each individual number.
Thanks in advance, assistance appreciated in the meantime I'm off to try and crack it and if I find out first then I'll post back.