PythonScript Xojo Plugin

PythonModule.Reload Method (console safe)

Reloads same module again if it has changed for example. Python caches the modules so loading it again in same way as the first time would not work.

Reload() as Boolean

Parameters

Returns

Boolean
True if successful, else false.

Remarks

You will need to re-fetch all classes and functions from the module after reloading. The old references may or may not still work but they would be running the old version of the module.

See Also

PythonModule Class