write#

Deck.write(buf: Optional[TextIO] = None, format: Optional[format_type] = None)#

Write the card in the dyna keyword format.

Parameters:
bufoptional

Buffer to write to. The default is None, in which case the output is returned as a string.

formatoptional

Format to write in. The default is None.