问题 I am trying to save multidimensional lists into a file, while keeping the structure of the lists. I figured using pickle would be the easiest: for ... stuff: # stuff happens which creates the new list kWebsTemp that I want to save # now for every loop-run I want to append my file by adding the new list as an additional object with open('%s_%s' %(filename,Scent), 'wb') as file: #file.write(kWebsTemp) #file.write('\n') pickle.dump(kWebsTemp, file) If I now however try to load the lists, I am