If you’ve used Python for a while you will probably be familiar with the os module for working with files and directories; often called pathnames by Linux users. In moving to Python 3 you may continue to use the same os and os.path functions from Python 2.7, however a new pathlib module provides an alternative object-oriented (OO) approach. In this posting, we examine the common file handling situations; comparing the OO approach of pathlib against the procedural approach of os functions. Current [...]