Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 87)
87.
What does the os.path.abspath() function do?
Returns the absolute path of the current working directory
Returns the relative path of the specified file
Returns the absolute path of the specified file
Checks if a file exists in the current directory
Answer: Option
Explanation:
os.path.abspath() returns the absolute path of the current working directory.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.