PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
Which of the following returns a string that represents the present working directory?
A. os.getcwd()
B. os.cwd()
C. os.getpwd()
D. os.pwd()
Show Answer
Next Question
Correct Answer:
A
Explanation: The function getcwd() (get current working directory) returns a string that represents the present working directory.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap