pydicom.filewriter.write_text

pydicom.filewriter.write_text(fp: DicomIO, elem: DataElement, encodings: list[str] | None = None) None[source]

Write a single or multivalued text string.