Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python for File Systems Navigation Review: Paths

I need help with this one

Quiz Question 3 of 4 Please fill in the correct answer in each blank provided below.

Fill in the blank(s) below:
Complete the following code snippet to get to the examples/python/ directory inside of the current directory:

os.path.join(os.getcwd(), " ", " ")

2 Answers

Steven Parker
Steven Parker
231,269 Points

The question is asking you build a path to another directory two levels down from the current one. Since the function shown has two blanks, you can put the names of each of the lower-level directories in those blanks (one in each).

Also, for future reference, the quizzes often ask questions in random order, so the question number isn't a good way to identify a particular question. But you did the right thing by quoting it.

Revert back to the videos. What is the one thing you should do when going two levels down? (Hint: Two simple characters within the parentheses).