Thanks, you are correct of course. I need to just scrap this and start
over, but I understand it a lot better now.
On Sun, May 22, 2011 at 4:57 PM, Alan Gauld wrote:
> "Becky Mcquilling" wrote
>
> I'm doing a tutorial and was given a problem, using shelve.
>>
>
> Remember that a shelve is bas
"Becky Mcquilling" wrote
I'm doing a tutorial and was given a problem, using shelve.
Remember that a shelve is basically a dictionary stored
in a file rather than in memory. So treat it like you would
a dictionary.
Here is what I have so far:
import shelve
def user_scores():
user_name =
On Sun, May 22, 2011 at 11:11 PM, Becky Mcquilling
wrote:
> I realize this is a fairly generic type of question, but being new to
> programming, I'm not sure how best to approach it.
> I'm doing a tutorial and was given a problem, using shelve. It's taking a
> user name and then asking for scores