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#
Here is the screencast and these are the slides.
Additional Materials#
A Real Python tutorial on pathlib