I am trying to open a file but it is displaying nothing.
openf = open('C:\Python27\NEWS', 'r')
openf.read()
It is neither displaying text nor any error. What could be the reason?
and when i write like this
openf = open('C:\Users\K\Desktop\wait.txt', 'r')
>>> print openf
This gives Output:
<open file 'C:\\Users\\K\\Desktop\\wai.txt', mode 'r' at 0x0000000002B4DDB0>
What does this mean?