The first hello xplain world!

in this example we learn how to create, run and save your first "hello world" python script.

Edit and run python code in embedded python editor

After successful login in Object Analytics start an xplain session by chosing a XView

start a session

make sure that "Show Programming Panel" is enabled in General Setting

Expand the Python IDE on the right side

open embedded Python IDE

In editor area you can add the following code example, without saving it, click run button. The python code will be executed, the console output hello xplain world will be displayed in the console area.

print("hello xplain world")
Hello xplain world!

Save and load python code

Click the save 💾 button to save the source code, you can use Select Team to specify whether to save the python code in public area or in your own private area.

save python code

Use "load" button to load the saved python code, either form the public/team area, or your own private area.

Delete the existing python script

First load the saved python code from either public/team area, then click delete button.

Last updated