⏰ Past
pathlib in Python: why you should use it
📅
Python is great for working with files, but there are a lot of different functions and modules to memorize when you need to work with files and directories in Python.
The os module and the os.path module are full of helper utilities and so is the shutil module. Python's pathlib module is a new(ish) part of the standarb library that can be used as a fairly neat replacement for most of these many file and directory management utilities.
Join me in this live chat for a live chat about pathlib and how it can help us write more readable Python code.
View video/discussion replay