Samsung Research America interview question

Do you know how to parse directories in Python?