Import and Export python script in Python Node in workspace

Import and Export python script in Python Node in workspace

book

Article ID: KB0074345

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.0 and higher

Description

Description: This article guides users on how to import and export python script in Python Node in Statistica workspace. 
 

Issue/Introduction

Import and Export python script in Python Node in workspace

Resolution

1. In Statistica workspace, click on "Node Browser", under "Publish", find and click on "Python Node" to add the node to workspace

2. Double click on the "Python Node" to open the parameter dialog in workspace.

  • User can tick "Use script file" option to import external python script from either local directory or Enterprise server database through Enterprise Manager
  • User can also directly write, edit, copy & paste the python codes in the text box

3. To export the customized python node, user can click on "Export Node" at bottom of the parameter dialog.

This function will export a .dmi file, which can be imported through workspace Node Browser and used in workspace as a user-customized node. 

Note:

This "Export Node" function exports only .dmi file. To export the python script only, user can just simply copy the written python code from the text box and paste in a fresh document as python script file. An enhancement request 107047 to export python script file directly from Python Node in workspace, will be evaluated and fixed in a future release.  

Additional Information

Legacy Article ID: 208464