Skip to content

Python node

The Python node interface is similar to the formula node interface. The difference is that instead of the mathematical formulas you can use the python code here. The code can contain the data from input links.

Screenshot

(1) Page bar shows all currently open Projects, Sheets, Nodes.

(2) Path and short node menu.

It shows the path to the current node (Project name / Sheet name / Node name). Single click on the node name brings up the menu which lets you rename the current node.

(3) Back button.

It shows a previously opened page (project, sheet, node) and lets you navigate there by just a single click.

(4) Input & Output connections menu.

It shows the list of nodes which are connected as inputs and outputs to the currently opened python node. In this example Equity python node is connected as output to the Net income formula node and Equity at the beginning data node. Names of nodes in the input/output connections menu are very useful for fast navigation. Double click on the name of input node (Equity at the beginning) opens this input node in a new tab and brings your focus to that tab.

(5) Input/output connections search field.

In big projects nodes may have many input/output connections. Start typing the name of any node in the search field and only nodes with matching names will remain in the output connections menu.

(6) Python code editor.

Use the keyboard to insert signs of mathematical operations.

(7) Python code examples area.

Click on the More to view the examples of python code. There are short explanations on how to use TIME variable, how to get the value of the current node, etc.

(8) Run button.

Click on this button to execute the python code.

(9) Results of calculation area.

If calculation is successful a table containing the results will appear in this area.

(10) Path information.

It shows the complete path to the currently open node: Project name -> Sheet name -> Node name.

(11) Pictogram to call the Data settings menu.

Use this menu to set units, rounding, number of decimal digits and thousands separations.

Python code editor. Pending.