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

Reply via email to