Can we please revert back to the original problem? def save(): target = open ("save.swroc", 'w') target.write([counter, loop, number_of_competitors, competitors]) def load(): the_array = list(open("save.swroc", 'r')) the_array = target counter = the_array[0] loop = the_array[1] number_of_competitors = the_array[2] competitors = the_array[3] Is this better? -- https://mail.python.org/mailman/listinfo/python-list
- Re: Wait... WHAT? Ian Kelly
- Re: Wait... WHAT? eneskristo
- Re: Wait... WHAT? Mark Lawrence
- Re: Wait... WHAT? Ian Kelly
- Re: Wait... WHAT? Tim Chase
- Re: Wait... WHAT? Mark Lawrence
- Re: Wait... WHAT? Tim Chase
- Re: Wait... WHAT? Mark Lawrence
- Re: Wait... WHAT? Tim Chase
- Re: Wait... WHAT? Chris Angelico
- Re: Wait... WHAT? eneskristo
- Re: Wait... WHAT? MRAB
- Re: Wait... WHAT? Michael Torrie
- Re: Wait... WHAT? Chris Angelico
- Re: Wait... WHAT? Ian Kelly
- Re: Wait... WHAT? Michael Torrie
- Re: Wait... WHAT? eneskristo
- Re: Wait... WHAT? Mark Lawrence
- Re: Wait... WHAT? eneskristo
- Re: Wait... WHAT? Chris Angelico
- Re: Wait... WHAT? Mark Lawrence