Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 21)
21.
What is the purpose of the os.path.join() function in Python when working with file paths?
To create a new file
To concatenate multiple file paths
To check if a file exists
To rename a file
Answer: Option
Explanation:
os.path.join() is used to concatenate multiple file paths and create a valid path.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.