因为刚学python,所以有很多不懂的地方,希望大佬指教一下
比如现在,我有一个文件名叫test.txt,文件内容如下:
I am curious.
Why I am here?
There's some kind of magic effect my mind to look at the sky.
It is blue.
The sky is blue like a mirror, and I can look myself from it.
But the sky hasn't answer my question. Why I am here?
My dad said, everyone has the value to alive.
What is my value? I am standing with the sky.
Is that my value? The sky tell me to look myself,to understand myself,and I will find the answer.
Blue blue sky, with white cloud and warm wind.
Quiet between the earth and Zeus.
Everyone has to complete their mission from they reached the world until they leave.
Ya, this the value is.
然后我想把第7行的dad改为mom,该怎么办?
如果一个文件很大呢?