graphs.py
def save(self, filename):
        """ Write out the graph in the trivial graph format """

        with open(filename, "w+") as f:
            f.write(self.to_tgf_string())
 Write out the graph in the trivial graph format 
Write out the graph in the trivial graph format
Write out the graph in the trivial graph format
def save(self, filename):
        with open(filename, "w+") as f:
            f.write(self.to_tgf_string())
def save ( self , filename ) : with open ( filename , "w+" ) as f : f . write ( self . to_tgf_string ( ) )
Write out the graph in the trivial graph format
Write out the graph in the trivial graph format
""" Write out the graph in the trivial graph format """
self
filename