[Tutor] save information in program
Alan Gauld
alan.gauld at blueyonder.co.uk
Sat Dec 6 05:04:36 EST 2003
> I have made a few simple programs in python, but the problem is
every
> time I add information in any program quit and restart the
information
> is gone. For instance a program that saves tlf. numbers.
> I want to know what I should to so that the information is
saved,
You need to write the data to a file and then when you start the
program read the data back from the file.
See the files topic in my tutor for a starter...
Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list