The Python programming language, despite its ease of use, offers a depth of useful functions, modules and data structures. One of these data structures, the "dictionary" data structure, functions as a ...
まず、固定された場所(ファイルパス)にあるプレーンテキスト(標準テキスト)を読み込んでワードファイルにし保存するプログラムを作成してみます。 読み込むプレーンテキストは以下の図のようになっています。ファイル名はtemp.txtとしています。