Xbasic

Helper::Python Class

Description

Methods for executing Python scripts in Alpha Anywhere.

Methods

call Method

Call a function in python module.

clone Method

Create a copy of an object instance.

currentThread Method

Gets the current global interpreter lock python thread.

debugThread Method

Sets python debugging for the current thread (spins up a python debugger if required).

deleteThreadState Method

Remove python active thread state for a known thread.

eval Method

Evaluate a python expression.

execute Method

Execute some arbitray python code.

executeFile Method

Execute a python file.

getBasePath Method

Return base path for python.

getPythonExe Method

Return the location of the python EXE for shelling.

getPythonPackages Method

Return the location of the python base packages.

newInstance Method

Create a new object instance of the same type.

print Method

Print output from python to calling environment.

printErr Method

Print error from python to calling environment.

reloadModule Method

Force reload of a python module.

setPath Method

Set the path for the current python thread.