home .. externals .. hermes python console ..
Source Code

The source code to the Hermes Python Console external is contained in a single Python module: the main module. Every EDS external must have a main module. This module (stored in the main.py file) is the one that is loaded by the Hermes Python Runtime when a user on the BBS enters your external.

Although the Hermes Python Console is a great tool for external authors, it is not a very good sample external. It uses private APIs to create a Python interpreter, which is not something that most external authors would need to do.

The source code to the Leech 2000 external is the best example of a Python-based Hermes external. You will undoubtedly find the code to Leech 2000 much more useful than the code to the Hermes Python Console.