title: how to store and load a list to and from a file in python, while retaining its element type
body: <p>if i store objects in a list.
  and i want this list to be stored in a file, in such a way that this list, when loaded from the file. It must contain same characteristics as before it saved, like element type.</p>