261
261
More useful functions in :mod:`os.path`: :func:`basename`, :func:`dirname` and
265
265
some reason: :func:`min` and :func:`max` can find the minimum/maximum of any
266
266
sequence with comparable semantics, for example, yet many people write their own
267
267
:func:`max`/:func:`min`. Another highly useful function is :func:`reduce`. A