pickle – Error Pickling in Python: io.UnsupportedOperation: read

pickle – Error Pickling in Python: io.UnsupportedOperation: read

Change:

# Read from file 
f_myfile = open(myfile.pickle, wb)

to:

f_myfile = open(myfile.pickle, rb)

and you can see the dict obj youve pickled.

pickle – Error Pickling in Python: io.UnsupportedOperation: read

Leave a Reply

Your email address will not be published. Required fields are marked *