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.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

config.py 421B

123456789101112131415161718
  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