Table of Contents

Method FromScriptCode

Namespace
Alternet.Scripter.Python
Assembly
Alternet.Scripter.Python.v10.dll

FromScriptCode(string)

When implemented by a class, loads script source from the script code.

IScriptSource FromScriptCode(string scriptCode)

Parameters

scriptCode string

Script code to execute.

Returns

IScriptSource

Modified IScriptSource instance

FromScriptCode(string, string)

When implemented by a class, loads script source from the script code.

IScriptSource FromScriptCode(string scriptCode, string fileName)

Parameters

scriptCode string

Script code to execute.

fileName string

Specific name if the file containing script code.

Returns

IScriptSource

Modified IScriptSource instance