Re: [Tutor] Problem with data storage

2005-07-06 Thread Alan G
From: "festus freeborn" <[EMAIL PROTECTED]> > plz I need infor About "Problem with data storage" You might need to give us a clue here. What kind of problem? What kind of data? What kind of storage? - for how long? how quickly retrieved? And if its a homework exercise, which it looks like it mi

Re: [Tutor] Problem with data storage

2005-07-06 Thread Bob Gailer
At 08:36 AM 7/6/2005, festus freeborn wrote: plz I need infor About "Problem with data storage" We need more information. How does this question relate to Python? What is the problem you are having? Why do you need to know? Bob Gailer mailto:[EMAIL PROTECTED] 510 558 3275 home 720 938 2625 cell

[Tutor] Problem with data storage

2005-07-06 Thread festus freeborn
plz I need infor About "Problem with data storage" Thanks__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tutor maillist - Tutor@python.org http://

Re: [Tutor] Problem with data storage

2004-12-02 Thread Jacob S.
Hello, The way I do it is as follows. def open(): a = open('myfile.txt','r') di = a.read() a.close() di = eval(di) return di def save(di): a = open('myfile.txt','w') a.write(str(di)) a.close() def dosomethingwithdi(di): '''You can put whatever you want in her