Re: [Tutor] Delete in .dat

2006-03-05 Thread Bob Gailer
ryan luna wrote: > My question seems like itd be farly simple but i cant > seem to get it to work, > My .dat file is a dictionary and i need to be able to > only delete a single word and its definition, > heres what i have so far but it doesn't work. > AARHG! I am always frustrated by "it doesn'

Re: [Tutor] Delete in .dat

2006-03-04 Thread Danny Yoo
On Sat, 4 Mar 2006, ryan luna wrote: > My question seems like itd be farly simple but i cant seem to get it to > work, My .dat file is a dictionary and i need to be able to only delete > a single word and its definition, heres what i have so far but it > doesn't work. Hi Ryan, By "doesn't work

[Tutor] Delete in .dat

2006-03-04 Thread ryan luna
My question seems like itd be farly simple but i cant seem to get it to work, My .dat file is a dictionary and i need to be able to only delete a single word and its definition, heres what i have so far but it doesn't work. pickle_file = open("dictionary.dat", "r") dictionary = cPickle.loa