code: def make_path_func (*baseparts):
      
      from os.path import join
      base = join (*baseparts)
      def path_func (*args):
          return join (base, *args)
      return path_func
docs: Return a function that joins paths onto some base directory.