Text editor settings -------------------- Visual Code ^^^^^^^^^^^ Use the Python language for ``*.mys`` files by modifying your ``files.associations`` setting. See the `official Visual Code guide`_ for more detils. .. code-block:: json "files.associations": { "*.mys": "python" } Emacs ^^^^^ Use the Python mode for ``*.mys`` files by adding the following to your ``.emacs`` configuration file. .. code-block:: emacs (add-to-list 'auto-mode-alist '("\\.mys\\'" . python-mode)) .. _official Visual Code guide: https://code.visualstudio.com/docs/languages/overview#_adding-a-file-extension-to-a-language