Python files searcher

Transformed MIBs that were saved in form of Python files can be checked with PyFileSearcher class instances.

class pysmi.searcher.pyfile.PyFileSearcher(path)

Figures out if given Python file (source or bytecode) exists at given location.

Create an instance of PyFileSearcher bound to specific directory.

Parameters:

path (str) – path to local directory

__str__()

Return a string representation of the instance.