Form inside the Zeus IDE, select the Tools, Language Shells Command Prompt menu and in the resulting screen run the following command:
Code: Select all
python -m pip install numpy scipy matplotlib
The results of that installation should result in the following output: 2. Checking the Installation
Save the following code to the numpy-test.py file:
Code: Select all
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
np.random.seed(0)
# array of normally distributed random numbers
values = np.random.randn(100)
# generate a pandas series
s = pd.Series(values)
# hist computes distribution
s.plot(kind='hist', title='Normally distributed random values')
plt.show()
Code: Select all
python numpy-test.py
The same result can be achieved by making the numpy-test.py file the active file and then using the Macro, Execute menu to run the file.
4. Autocomplete and Code Navigation
The Zeus IDE uses jedi for Python code navigation and autocompletion.
Here is an example of the auto completion: The code navigation allows the user to navigate to the symbol under the cursor.
NOTE: The first time that the jedi is called it builds a cache of the imports which can take a few seconds, meaning the first autocomplete request will be slow. But subsequent request should work as expected.
Cheers Jussi