Python-ELMO is a Python library which offers an encapsulation of the binary tool ELMO, in order to manipulate it easily in Python and SageMath script.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

  1. import os
  2. ### Configuration of the module
  3. TEMPLATE_REPOSITORY = 'templates'
  4. PROJECTS_REPOSITORY = 'projects'
  5. ELMO_TOOL_REPOSITORY = 'elmo-tool'
  6. ELMO_EXECUTABLE_NAME = 'elmo'
  7. ELMO_OUTPUT_ENCODING = 'latin-1'
  8. ELMO_INPUT_FILE_NAME = 'input.txt'
  9. MODULE_PATH = os.path.dirname(os.path.abspath(__file__))
  10. SEARCH_EXCLUSION_TAG = 'EXCLUDE-FROM-SIMULATION-SEARCH'
  11. # ELMO Server
  12. DEFAULT_HOST = 'localhost'
  13. DEFAULT_PORT = 5000