I have five data files, that are used to build a database.

1.txt
2.txt
3.txt
4.text
5.txt

I want to build a database using a persistent dictionary (shelve).

The specifications are that the key for each dictionary keyword pair, is the
lefthand side 
value of the # sign, and the corresponding value for the data is the phrase
on the 
righthand side.

Can someone help me manipulate this please? I can't not get a grasp on
shelves and on what I need to do.

Thanks,

TheSarge

-- 
View this message in context: 
http://www.nabble.com/Shelve-problem-tf4239852.html#a12064251
Sent from the Python - tutor mailing list archive at Nabble.com.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to