i post from my original code,
crystal = open('vmises.dat','r')
crystalincrement = pickle.load(crystal)
crystaldir = pickle.load(crystal)
crystalface = pickle.load(crystal)
crystal.close()
Error is,
crystalincrement = pickle.load(crystal)
TypeError: ‘str’ does not support the buffer interface
i use python V 3.2
The question was edited after I originally posted this and it was accepted. The answer to the updated question is to open the file in binary mode:
Answer to original, pre-edit question:
Well,
datais a string. The object you need to work on isa.For
pickleinfo, see the Python Wiki or Python for Kids.