adplus-dvertising
frame-decoration

Question

How do you delete a file?

a.

del(fp)

b.

fp.delete()

c.

os.remove(‘file’)

d.

os.delete(‘file’)

Answer: (c).os.remove(‘file’)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How do you delete a file?