Module contents
A module for working with external scripts.
-
class vcorelib.script.ScriptableMixin[source]
Bases: object
A mixin for classes to pass themselves to external scripts that may
update their state.
-
invoked(script: Path) → bool[source]
Determine if a script has been invoked or not.
-
script(script: Path, method: str, *args, once: bool = True, **kwargs) → Any[source]
Invoke a script while passing this object reference.
-
vcorelib.script.invoke_script(script: Path | str | None, method: str, *args, **kwargs) → Any[source]
Invoke a method from an external script.