|
APIs, concepts, guides, and more
|
Learn how to run a sample app in Python.
Our guides typically assume these IDEs, but the general steps provided should be applicable to any IDE you choose.
1. Install a compatible version of Python. [https://www.python.org/downloads/]
| Windows | Linux |
|---|---|
3.10 | 3.9 3.10 3.11 |
2. Uninstall other Python versions (optional but recommended). If newer incompatible Python versions are installed you will have to manage which Python version you are launching RapidCode Python programs with.
3. Check your Python version py --version
4. Install a compatible version of NumPy pip install numpy==<version>
https://numpy.org/install/ (This common math module is used when converting between Python and C++ array method parameters)
| Windows | Linux |
|---|---|
1.22 | 1.23 1.24 1.25 1.26 |
5. Run one of the sample apps that come pre-installed. Navigate to:
| Windows | Linux |
|---|---|
C:\RSI\10.X.X\examples\python | /rsi/examples/python |
6. Open _constants.py in your code editor of choice and modify the configuration constants to suit your setup
7. Launch a terminal in this directory
8. Execute py controller-create.py