def __repr__(self):
        rep = ""
        for host in self.hosts.keys():
            attrs = self.hosts[host]
            rep = rep + "machine "+ host + "\n\tlogin " + repr(attrs[0]) + "\n"
            if attrs[1]:
                rep = rep + "account " + repr(attrs[1])
            rep = rep + "\tpassword " + repr(attrs[2]) + "\n"
        for macro in self.macros.keys():
            rep = rep + "macdef " + macro + "\n"
            for line in self.macros[macro]:
                rep = rep + line
            rep = rep + "\n"
        return rep
get the grid lines as a list
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/netrc.py/netrc.__repr__--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/utils/reference.py/SpatialReference.get_grid_lines