Python file writer¶
- class pysmi.writer.pyfile.PyFileWriter(path)¶
Stores transformed MIB modules as Python files at specified location.
User is expected to pass PyFileWriter class instance to MibCompiler on instantiation. The rest is internal to MibCompiler.
Creates an instance of PyFileWriter class.
- Parameters:
path – writable directory to store Python modules
- __str__()¶
Return a string representation of the instance.