I am using pickle module in Python and trying different file IO modes:
# works on windows.. \"rb\" with open(pickle_f, \'rb\') as fhand: obj = pickle
r+ is used for reading, and writing mode. b is for binary. r+b mode is open the binary file in read or write mode. You can read more here.
r+
b
r+b