adplus-dvertising
frame-decoration

Question

Which of the following is not a valid attribute of a file object (fp)?

a.

fp.name

b.

fp.closed

c.

fp.mode

d.

fp.size

Posted under Python

Answer: (d).fp.size

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is not a valid attribute of a file object (fp)?