>I want to store data in the shape of (for example):
>  First name, Last name, Age, ... few more characteristics.
>  I must  be able to search data by any of this fields. For example, search 
> for age, or name ... etc

For small quantities you can store the data in a list or tuple or 
dictionary.
You can then just write (orPickle) the container to a file.
See my file handling tutorial topic for an example of an address book.

>  Also, I want to put option in main program to change (update), add and 
> remove that data.
>  How do I do that (easiest way, please) ?

If there is a lot of data you should use a database, see the Working with 
Databases
topic for the address book example revisited.

HTH,

Alan G
Author of the learn to program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld


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

Reply via email to