PythonのDictDataBaseを用いて作成したファイルの辞書にデータを書き込んでみます。 この記事は「PythonのDictDataBaseを用いてデータベースのファイルを作成する」の続きとなります。 今回はDictDataBaseを用います。このライブラリ・モジュールはPythonの標準ライブラリではありませんので、事前にインストールする必要があります。 ■Python 今回のPythonのバージョンは、「3.10.9」を使用しています。(Windows11)(pythonランチャーでの確認) ■DictDataBaseを用いて作成したファイルの辞書にデータを書き込むでは、早速DictDataBaseを用いて作成したファイルの辞書にデータを書き込むスクリプトを書いていきます。なお、作成したデータベースファイルは、前回のものを利用します。 ■コードimport dictdataba