[Tutor] foreign lists

Andrei Kulakov ak@silmarill.org
Sat, 04 Aug 2001 11:09:04 -0400


On Sat, Aug 04, 2001 at 11:03:43AM -0400, paul wrote:
> is it possible to access a list from another file and save whatever changes are made to the list after the original program has been run?  i made a simple book database which matches book titles with certain attributes each book contains.  i want to be able to create the main list of books and have my program access that list.  i also want any additions made to the list to be changed in that foreign list, so that next time the program is run, the list will include the new addition.  right now, though, i have it so that each time the program runs, it starts with a blank list.  any suggestions???  if anyone wants the code, i'll be happy to post that also.
> thanks
> paul brown

That sounds similar to my program pybook, Gutenberg Texts reader -
silmarill.org/pybook . You can try looking at the source, it's fairly clean
and commented.

-- 
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: http://silmarill.org/cymbaline