Skip to content

Python

File browser and launcher

Use the file tree to manage notebooks, scripts, and configuration (e.g., space.cfg). The launcher lets you create notebooks, consoles, and new files in one click.

Python workspace

Editing notebooks and scripts

Open a notebook or .py file to edit and run code with syntax highlighting and code completion. Store TM1 connection details in space.cfg and import them in your scripts/notebooks.

Notebook editing

Running scripts and viewing output

Run scripts directly from the editor. Output (including logs and errors) appears below the code so you can verify results immediately. Use “Run without arguments” or provide parameters when supported.

Script run and output

Tips

  • Keep secrets in space.cfg and avoid hard-coding credentials.
  • Use notebooks for exploratory work and .py scripts for automation.
  • Refresh the file tree after adding new files from outside the UI.