read

Engine.read_conjugation_key(filename)
Creates a conjugation key by reading data from a file.
  • Input:
    • filename: str
      • Can be an absolute or relative path.
  • Output:
    • ConjugationKey

Examples

Using an absolute path

from desilofhe import Engine

engine = Engine()
conjugation_key = engine.read_conjugation_key("/opt/desilo/conjugation_key")

Using a relative path

from desilofhe import Engine

engine = Engine()
conjugation_key = engine.read_conjugation_key("conjugation_key")