Loading
/custom-emojis/emojis/contour-map.png
Templates
📚
Articles & Resources
📖
Guides & Support
🎖️
Bounty Program
🌵
CalcTree
Add and run Python scripts in the CalcTree cloud to operate complex calculations.

How-To

Composing your script from scratch in CalcTree

  1. First, you should add a Python source to your page. Click on Python on the Integrations sidebar:
Select Python from the Integrations sidebar

If you cannot see the Integrations sidebar, click on the plug icon, then click on + Add :
Click on + Add icon to see the Python option


  1. When you click on Python:
  1. A fresh Python source will be added as an integration to the page.
  2. The source viewer will slide in from the bottom, showing your new Python source.
  3. You can use it to compose your Python code


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.
If you have Input() functions in your code to get values for variables from a console, you will have to remove the input functions and use parameters from your page to populate those variables. Continue reading 'Python Parameters'.




Still have more questions?

Join the conversation on Slack below!