On 11-Apr-2001 Duncan Smith wrote: > I need to read some data from a file. Each (tab delimited) row corresponds > to an array index eg. > > 0 0 0 0 0 0 > 0 1 0 0 0 0 > 0 0 1 0 0 0 > ... > > And I need something like, > > [[0,0,0,0,0,0], [0,1,0,0,0,0], [0,0,1,0,0,0], ...] > > What's the best way of doing this? Cheers in advance. > look at string.split().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4