PythonScript Xojo Plugin

PythonScript.Init Method

Call this method to initialise the Python engine for your application. This variation takes application name as parameter.

Your application must initialise Python before doing anything else with Python.

shared Init(
   applicationName as String)

Parameters

applicationName
Name of your application.

Remarks

Its recommended that you pass application name to Python but not mandatory.

Its good to call PythonScript.Init in your App.Open event and PythonScript.Finalize in your App.Close event.

See Also

PythonScript Class