MCQs > IT & Programming > Python > What function is used to find the absolute path of a file?

Python MCQs

What function is used to find the absolute path of a file?

Answer

Correct Answer: import os os.path.abspath("mydir/myfile.txt")

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it