Python Language Tutorial
Posted: Wed May 02, 2012 7:35 am
Writing Python Code
To program in Python using the Zeus IDE do the following.
1) Create a c:\temp\test.py test file using the Python 3.x code shown below:
2) Use the Compiler, Compile menu to syntax check the Python code.
3) To run the code use the Macros, Execute 'test.py' menu and in the resulting console window type in 1234 and then hit the enter key.
The following output will be captured inside Zeus:
Setting up the Language Server
To setup the Python language server follow the instructions found here: https://www.zeusedit.com/lsp/python.html
Cheers Jussi
To program in Python using the Zeus IDE do the following.
1) Create a c:\temp\test.py test file using the Python 3.x code shown below:
Code: Select all
print ("Hello world")
result = input("Enter a value: ")
print (result)
print ("Complete.....")
2) Use the Compiler, Compile menu to syntax check the Python code.
3) To run the code use the Macros, Execute 'test.py' menu and in the resulting console window type in 1234 and then hit the enter key.
The following output will be captured inside Zeus:
Code: Select all
---------------------------------------------------------------------------
Zeus for Windows Programmers Editor - Version 3.97k
Copyright (c) Xidicone P/L 1993-2012. All rights reserved.
---------------------------------------------------------------------------
Hello world
Enter a value: 1234
Complete.....
Setting up the Language Server
To setup the Python language server follow the instructions found here: https://www.zeusedit.com/lsp/python.html
Cheers Jussi