以下の読み込み用テキストファイルを用いて、 text.txt It is meaningless only to think my long further aims idly. It is important to set my aims but at the same time I should confirm my present condition. Unless I set the standard where I am in any level, I'll be puzzled about what I should do from now on. 以下のメソッドを用いた場合の処理を書いてみます。 read() – ファイルを全て読み込み、その文字列データに対して処理を行う readlines() – ファイルを全て読み込み、1行毎に処理を行う readline() – 1行毎
![Python: テキストファイルの読み込み - read()、readlines()、readline()メソッド - Yukun's Blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/22c5887a1a17699b25e52574c2389ed9bc94fbc6/height=288;version=1;width=512/https%3A%2F%2Fyukun.info%2Fwp-content%2Fthemes%2Fsimplicity2-child%2Fimages%2Fog-image.jpg)