File paths with pathlib#
Learning Objectives#
After working through this topic, you should be able to:
Use file paths in Python that work on all operating systems
Explain the difference between absolute and relative file paths
List all files in a directory
Save and load Python objects using
.pkl
files
Materials#
Video:
Download the slides.
A Real Python tutorial on pathlib.