Using Zeus with Python

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
Site Admin
Posts: 2519
Joined: Fri Aug 13, 2004 5:10 pm

Using Zeus with Python

Post by jussij »

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
This command should result in the following output:
Python 3.7.0
Using the Python Shell
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:
python-repl.png (224.74 KiB) Viewed 3566 times
Editing Python Scripts
When editing Python scripts inside the IDE the default installation comes with Jedi Python autocomplete pre-configured:
python-jedi.png (251.49 KiB) Viewed 3568 times
It is also very easy to setup the Python language server with more details found here:

Running Python Scripts
With the Python script as the active document, the Macros, DOS Command Line menu can used to run the script inside the editor.

The script will be run and any output captured inside the editor.

Cheers Jussi
Post Reply