<< Python Interaction Mechanism in Scilab Python Interaction Mechanism in Scilab pyAddVar >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyAddToPath

pyAddToPath

Append a path to sys.path

Calling Sequence

pyAddToPath(path_1 [, path_2 [, ... ]])

Arguments

path_i

A matrix of strings.

Description

Append to sys.path the paths given in arguments.

Examples

// Let suppose that a module foo is located in /path/to/my/module/
pyAddToPath /path/to/my/module/
pyGetPath()
pyImport foo

foo.bar()

pyRemove foo

See Also

History

VersionDescription
5.4.0 Python module.

Report an issue
<< Python Interaction Mechanism in Scilab Python Interaction Mechanism in Scilab pyAddVar >>