Skip to content

Commit 20b2109

Browse files
Fix typo and extend code comments
1 parent 35c2c2a commit 20b2109

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Examples/developer-guide/converting-documents/convert-document-to-another-format/specify_output_format.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
def specify_output_format():
66
# Instantiate Converter with the input document
77
with Converter("./business-plan.docx") as converter:
8-
# Instantiate convert options to define the output format
8+
# Instantiate convert options to define the output format, by default it is DOCX
99
word_convert_options = WordProcessingConvertOptions()
10-
# Set the output fomormat to TXT
10+
# Change the output format within the format family from DOCX to TXT
1111
word_convert_options.format = WordProcessingFileType.TXT
1212

1313
# Convert the input document to TXT

0 commit comments

Comments
 (0)