Muat kamus dari file dalam python menggunakan fungsi beban modul pickle

import pickle

with open("myDictionary.pkl", "wb") as tf:
    new_dict = pickle.load(tf)

print(new_dict)
Coderunner