Print "Hello World!" is always the first goal when learning any programming language, so let's try to do it inside Modo using Python.
My first script:
-Open Komodo Edit and choose File > New > New File, a window pops up and choose Python from right pane and choose to save it as *.py file at your user Modo scripts directory (in Win Vista/7 C:\Users\Your Name\AppData\Roaming\Luxology\Scripts. I name it test_script.py;
-In Komodo I deleted the default line #!/usr/bin/env python jut to maintain the code clean;
-Type #python in order for Modo to recognize it as a Python script;
-Type import lx in order to import Modo's Python module;
-Type lx.out('Hello World!'), this prints to the Event Log whatever you have inside the (). Text needs to be inside '';
The code looks like this:
-Save it and inside Modo goto System > Run script... (Shift+F5) and pick your script. On the Event Log you'll get Hello World! printed out along withe the useful info about the location and script just executed.
HOORAY!! I'm actually impressed by what I just achieved. My 1st well succeeded Python script for Modo. Now the sky is the limit.
PS-When testing scripts, it's probably better to name it _test_script (underscore prefix) in order to make it easier to find when you have to browse for it!