Застрял на фрагменте в учебнике:
Next, I take the idea of pickling one step further by shelving the lists together in a single file. Using the shelve module, I create a shelf that acts like a dictionary, which allows the lists to be accessed randomly.
First, I create a shelf, pickles:
print "\nShelving lists."
pickles = shelve.open("pickles2.dat")
import shelve
shelve_it=shelve.open("D:\Python_programs\ordered_dump")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
shelve_it=shelve.open("D:\Python_programs\ordered_dump","c")
File "C:\Program Files\Python26\lib\shelve.py", line 234, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "C:\Program Files\Python26\lib\shelve.py", line 218, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
File "C:\Program Files\Python26\lib\anydbm.py", line 80, in open
raise error, "db type could not be determined"
error: db type could not be determined
error: db type could not be determined
а все остальное - нет
объясните пожалуйста