Re: Reading File Into 2D List

2013-07-09 Thread alex . hanga
> Replace te **start line with something like: > > > > object_data.append([]) > > i += 1 > > > > This assumes a few missing lines, which must have been there or you > > would have already had runtime errors. For example, you'll need i=0 > > before the loop. > >

Re: Reading File Into 2D List

2013-07-09 Thread Dave Angel
On 07/09/2013 09:30 AM, alex.ha...@gmail.com wrote: Hello! I'm new here and fairly new to Python. I am attempting to read a data file into python and adding it to a 2D list to make it easy to use further down the line. My data file is just 7 numbers in a row seperated by commas and each bulk o

Reading File Into 2D List

2013-07-09 Thread alex . hanga
Hello! I'm new here and fairly new to Python. I am attempting to read a data file into python and adding it to a 2D list to make it easy to use further down the line. My data file is just 7 numbers in a row seperated by commas and each bulk of data is seperated by the sign @ to indicate that th