The Opentrons App is great to use for most people, however some use cases need more customizability and flexibility of the Opentrons API. In order to do this, we must access the API from outside of the App, using a Python-compatible interactive interpreter.
We recommend using Jupyter Notebook, which is an open source IPython project. The same things can also be accomplished through other programs, so feel free to get in touch with us to see if your preferred interpreter will work!
Installing and launching Jupyter Notebook
If you don't have Python already installed in your computer, it is recommended to download Anaconda, which comes with Python and Jupyter.
If you already have Python installed in your computer, you can download Jupyter using the Python package manager
pip in Terminal using:
pip3 install --upgrade pip
pip3 install jupyter
You can do this same thing in Command Prompt using:
python -m pip install jupyter
Once you have Jupyter installed through either method above, you can launch the Jupyter Notebook from either Terminal or Command Prompt using:
Once you have the Jupyter Notebook open, you can get started with connecting to your robot!