Library

(class from pyomo.common.fileutils)

class pyomo.common.fileutils.Library(path)[source]

Bases: object

Singleton library registry

This class cannot be instantiated. Instead, calling this type will perform lookups in the underlying singleton PathManager object and return instances of PathData.

__init__()

Methods

__init__()

rehash()

Requery the location of all registered library paths

Member Documentation

classmethod rehash()[source]

Requery the location of all registered library paths

This method derives its name from the csh command of the same name, which rebuilds the hash table of executables reachable through the PATH.