Example Python node with Python and IronPython scripting to take inputs from upstream spreadsheet nodes

Example Python node with Python and IronPython scripting to take inputs from upstream spreadsheet nodes

book

Article ID: KB0074430

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.2

Description

This article gives an example of Python node with Python (3.5 or 2.7) and IronPython scripting language to take inputs from upstream spreadsheet nodes and generate downstream spreadsheet outputs. 
 

Issue/Introduction

Example Python node with Python and IronPython scriptings to take inputs from upstream spreadsheet nodes

Environment

Windows 7, Windows Server 2012 R2

Resolution

With Python (3.5 or 2.7) scripting language in Python node, "ActiveDataSet['SpreadsheetNodeName']" is used to read inputs from upstream spreadsheet nodes.

With IronPython scripting language in Python node, "InputContainer[x].DataSource" is used to take inputs from upstream spreadsheet nodes.

Example workspaces with python node with Python (3.5 or 2.7) and IronPython scripting languages are attached in this article.

Attachments

Example Python node with Python and IronPython scripting to take inputs from upstream spreadsheet nodes get_app
Example Python node with Python and IronPython scripting to take inputs from upstream spreadsheet nodes get_app