Script Editor

You can run your original function by editing a Python script in the 'Script Editor'.

See the [Menu > Help > Index] about classes for Metasequoia.

And see online documents from 'Python Programming Language' web site or the books on the market for general information of Python language.

You can confirm the version of Python by inputting "print(sys.version)" and running it.