Since the Zeus IDE is scriptable using the Python language the default Zeus installer also installs a Python environment.
This means to start learning to program in Python no other installations are required.
To test this installation use the Tools, DOS Command Line menu and in the resulting dialog enter in the following command:
Code: Select all
python.exe --version
Using the Python ShellPython 3.10.5
Use the Tools, Language Shells, Python REPL menu to bring up the interactive Python REPL environment.
This will bring the interactive Python environment inside the Zeus IDE as shown below: Editing Python Scripts
When editing Python scripts inside the IDE the default installation comes with Jedi Python autocomplete pre-configured: It is also very easy to setup the Python language server with more details found here: https://www.zeusedit.com/lsp/python.html
Running Python Scripts
With the Python script as the active document, the Macros, Execute 'test.py' Script menu to run the script inside the editor. Alternatively, if the script does not use stdin you can run the script using the Tools, DOS Command Line menu using this command line:
Code: Select all
python.exe "$fn"
Cheers Jussi