hello world!


Create your first xplain python script.

  1. Enable Developer mode if you haven’t already (main menu ☰ → Settings → Developer mode).

  2. Open the main menu (☰), then Tools → Python → Create Jupyter Notebook.

Python submenu

  1. The Python Code panel opens docked on the right. Open File → New script.

Python Code panel with the File menu open

  1. Navigate to the code area and type print('hello world!').

  2. Click Execute script to run the Python script and you will see the output in the output area below the code.

Executed hello world script with its output

  1. Open File → Save script as, type “hello world” as the name and confirm to save the file.

  2. To load it again later, open File → Load script, select the …on Server tab, and double-click the file.

Open .py File dialog