save method

save

Saves the syntax tree to the specified path.

def save(self, path):
    ...
ParameterTypeDescription
pathstrThe string path.

save

Saves the syntax tree to the specified stream.

def save(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe stream.

See Also