Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 29)
29.
What is the purpose of the os.path.abspath() function?
Returns the file's absolute path
Returns the file's relative path
Returns the file's base name
Returns the file's directory name
Answer: Option
Explanation:
os.path.abspath() returns the absolute path of a file.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.