When I create a dictionary object with 

myDict =     FD ={"hello":"salut",
                   "g'day":"bonjour",
                   "house":"loger",
                   "word":"mot"
                   }

it appears in the variable explorer as expected.

However, when I use pickle to load it from a file:
try:
    with open("dictionary.dat", "rb") as fileHandle:
        FD=pickle.load(fileHandle)

The file handle appears - but not FD (the dictionary object).
(If I print FD it prints as a dictionary though - so it did load 
successfully.)

Why doesn't the Dictionary appear in the variable explorer when loaded from 
pickle? And is this expected behaviour?
Thanks
Lindsay

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/1fcd1862-4fd1-4757-82b5-68d0085fa1ccn%40googlegroups.com.

Reply via email to