执行f=open(r'd:\python\data.txt')后,一次读取文件所有内容的是(   )
A、 f.read(10)
B、 f.read()
C、f.readline()
D、 f.readlines()