spectrochempy.run_script๏ƒ

run_script(script, localvars=None)[source]๏ƒ

Execute a given project script in the current context.

Parameters:
  • script (script instance) โ€“ The script to execute.

  • localvars (dict, optional) โ€“ If provided it will be used for evaluating the script. In general, it can be localvrs`=`locals() .

Returns:

out โ€“ Output of the script if any.

Examples using spectrochempy.run_script๏ƒ

Project creation

Project creation