parameters: (self, fName)
return_statement: return os.path.join(path, fName)
docstring: Create a path name for the cache
docstring_summary: Create a path name for the cache
docstring_tokens: Create a path name for the cache
function: def cachingPath(self, fName):
          """Create a path name for the cache"""
          if pg.rc["globalCache"]:
              path = pg.getCachePath()
          else:
              path = ".cache"
          if not os.path.exists(path):
              os.mkdir(path)
          return os.path.join(path, fName)
function_tokens: def cachingPath ( self , fName ) : if pg . rc [ "globalCache" ] : path = pg . getCachePath ( ) else : path = ".cache" if not os . path . exists ( path ) : os . mkdir ( path ) return os . path . join ( path , fName )