Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 32)
32.
What is the purpose of the os.rename() function?
To remove a file
To rename a file or directory
To copy a file
To check if a file exists
Answer: Option
Explanation:
os.rename() is used to rename a file or directory in Python.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.