JupyterLab  is a popular Integrated Development Environment and "the next-generation web-based user interface for Project Jupyter." Code Ocean implements a User Interface based on JupyterLab by default, with many of the IDE's features available at a glance.

Another option for using JupyterLab is as an interactive session, where you can start new Python files or Jupyter Notebooks, or run smaller segments of code without executing a master script. 

To install JupyterLab:

On any capsule with either a Conda or pip installer available, click the Environment and Dependencies icon and add jupyter through either. (You can add the pip installer dynamically by adding python-pip  via apt-get.)

To run JupyterLab: 

From the interactive sessions dropdown beneath 'Run', select JupyterLab (here just 'lab'): 

This will trigger a new run accompanied by the words 'Interactive Session.
Third, when the words turn blue, click them (it is a link):

To launch JupyterLab!

Five general caveats about interactive sessions on Code Ocean:

  1. Leaving an interactive session running will continuously use quota until you stop the run by clicking the red square in the screenshot above. 
  2. Every 30 minutes, your interactive session will ask you if you are still there. This is to prevent an idly open tab from exhausting your quota. 
  3. When you open an interactive session, you may be prompted to accept notifications from Code Ocean. If you accept, you will receive this half-hourly reminder in your open interactive tab. If you do not accept, it will pop up in the Code Ocean capsule from which you launched the interactive session.
  4. If you do not actively tell Code Ocean that you are still working, every 30 minutes, your session will end and your work will be lost. Please pay attention to these notifications. 
  5. Work done in an interactive session will not be saved to your /code and /data panes. For the time being, please copy and re-implement any changes you wish to save back to your code and data.  
Did this answer your question?