<< pyAddVar Python Interaction Mechanism in Scilab pyAttachModule >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyAllowModuleReloading

pyAllowModuleReloading

Allow to reload a module

Calling Sequence

[isAllowed = ] pyAllowModuleReloading([bool])

Arguments

bool

A boolean.

isAllowed

A boolean.

Description

Allow to reload a module when it is imported. If some modifications have been made on the source file, it could be useful to reload it.

With no argument, the function returns the current state.

Examples

pyAllowModuleReloading(%t);
pyImport MyModule

// make some modifications on the module
pyImport MyModule

See Also

History

VersionDescription
5.4.0 Python module.

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