I have a list including 4000 elements in python which each of its elements is an object of following class with several values.
class Point:
def __init__(self):
self.coords = []
self.IP=[]
self.BW=20
self.status='M'
def __repr__(self):
return str(self.coords)
I do not know how to save this list for future uses. I have tried to save it by open a file and write() function, but this is not what I want. I want to save it and import it in next program, like what we do in MATLAB that we can save a variable and import it in future