Practice ยท 1 of 3
Path Anatomy
Implement file_info(p) receiving a Path and returning a dict with keys name, stem, suffix, and parent (as str).
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: pathlib Drills
Practice ยท 1 of 3
Implement file_info(p) receiving a Path and returning a dict with keys name, stem, suffix, and parent (as str).
Difficulty: intermediate
Back to lesson: Practice: pathlib Drills