Readigng files


#1


Hello. I want to learn what does read file actually do. In other words, when reading a file, does it return every word in a list as a string?
For example if I write z=t.read() g=z.count(s)
will this count s in the file?

Hello. I want to learn what does read file actually do. In other words, when reading a file, does it return every word in a list as a string?
For example if I write z=t.read() g=z.count(s)
will this count s in the file?


Replace this line with your code.


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.