Chapter 10: Problem 34
When you open a file for the purpose of saving a pickled object to it, what file access mode do you use?
Short Answer
Expert verified
Answer: The appropriate file access mode for saving a pickled object in Python is 'wb', which stands for "write binary." This mode allows writing binary data to the file and overwrites any existing content in the file.