Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 53)
53.
What does the os.path.splitext() function return?
Returns the file's extension
Returns the file's base name
Returns the file's absolute path
Returns the file's creation time
Answer: Option
Explanation:
os.path.splitext() returns the file's extension.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.