Wait... WHAT?

eneskristo at gmail.com eneskristo at gmail.com
Thu Feb 13 12:46:50 EST 2014


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?



More information about the Python-list mailing list