Add and run Python scripts in CalcTree cloud to operate complex calculations.
How-To
Composing your script from scratch in CalcTree
- Click on the Integrations tab on the right-hand side of the page
- Click on Code
View in action👇
- A fresh Python source will be added as an integration to the page.
- The source viewer will slide in from the bottom, showing your new Python source.
- You can use it to compose your Python code. Any new script you add will include a simple Python script with some CalcTree syntax to get you started.
Using existing scripts
If you have a script ready, copy/paste it into a fresh Python source. Or drag and drop the Python file onto your CalcTree page. It will automatically be converted as a new Python source.
You will need to add the inputs section to your code in either case. Continue reading 'Python Parameters'. Still have more questions?
Join the conversation on Slack below!