XML.write

XML.write(prettify=False)[source]

Writes the string representation of this XML instance, including all sub-elements, to the file path in the associated XML object.

Parameters

prettify (bool, optional) – If True, prettify the string representation by adding whitespace and indentation.

Returns

None