GX-TXT Python Script Workspace – Complete Guide to the Python Editor, Scripts and Debugger
GX-TXT OPERATING GUIDE · PYTHON
Python Script Workspace: from the editor to scientific results
This guide explains how to use Python Script Workspace, the GX-TXT environment for writing, organising, running and checking Python scripts. The path starts with getting familiar with the interface and leads to multi-file projects, the public GX-TXT APIs, Datasets, Jobs and the debugger.
Quick navigation
- Editor, sources and projects
- Script Runner, parameters and Datasets
- Native debugger
- Jobs, results and persistence
- Examples and guided paths
How to follow the guide
The guide includes 29 operational chapters and 4 applied paths. For a progressive reading, start from P01 and continue to P29; if you already know the editor, you can go straight to the area you are interested in. Chapters W01–W04 offer complete exercises.
The entries below form the complete index. The links to the individual articles will be activated as they are published on the site.
1. Editor, sources and projects
Chapters P01–P14. First steps, navigating the interface, managing .py files and imports, Bridge snippets, projects and Markdown notes attached to scripts.
- P01 — GX-TXT Python Script Workspace: opening the editor and telling User and Session apart
- P02 — GX-TXT Python Script Workspace: menus and keyboard shortcuts
- P03 — GX-TXT Python Script Workspace: identity, versions and metadata of Scripts
- P04 — GX-TXT Python Script Workspace: creating, saving, copying and closing a Script
- P05 — GX-TXT Python Script Workspace: working with multiple source tabs
- P06 — GX-TXT Python Script Workspace: editing code, searching and navigating lines
- P07 — GX-TXT Python Script Workspace: importing and exporting Python files
- P08 — GX-TXT Python Script Workspace: organising Python imports with Manage imports
- P09 — GX-TXT Python Script Workspace: Bridge snippets and the built-in guide
- P10 — GX-TXT Python Script Workspace: arranging panels and improving code readability
- P11 — GX-TXT Python Script Workspace: creating and opening Python projects
- P12 — GX-TXT Python Script Workspace: organising a multi-file Python project with Save All
- P13 — GX-TXT Python Script Workspace: writing and keeping Markdown notes for each Python file
- P14 — GX-TXT Python Script Workspace: formatting Markdown notes and managing PNG images
2. Script Runner, parameters and Datasets
Chapters P15–P20. Preparing a controlled execution, binding input Datasets, configuring typed parameters and obtaining verifiable results.
- P15 — GX-TXT Python Script Workspace: opening Script Runner and choosing the revision to run
- P16 — GX-TXT Python Script Workspace: binding input Datasets and choosing the namespace
- P17 — GX-TXT Python Script Workspace: declaring parameters in the source and configuring them in the Runner
- P18 — GX-TXT Python Script Workspace: saving and reloading typed Parameter Datasets
- P19 — GX-TXT Python Script Workspace: configuring output, validating and running a Job
- P20 — GX-TXT Python Script Workspace: running a Script from the Analysis tab
3. Native debugger
Chapters P21–P24. Setting breakpoints, following execution step by step, inspecting stack and variables, handling exceptions and cancellations.
- P21 — GX-TXT Python Script Workspace: breakpoints, source gutter and folding
- P22 — GX-TXT Python Script Workspace: Pause, Continue and stepping in the native debugger
- P23 — GX-TXT Python Script Workspace: Call Stack, Locals, Globals and helper file frames
- P24 — GX-TXT Python Script Workspace: exceptions, cancellation and revision safety
4. Jobs, results and persistence
Chapters P25–P29. Browsing the execution history, reading output and diagnostics, managing scientific results and understanding the life cycle of scripts.
- P25 — GX-TXT Python Script Workspace: Job history, filters and reruns
- P26 — GX-TXT Python Script Workspace: stdout, stderr, diagnostic logs and full streams
- P27 — GX-TXT Python Script Workspace: from logs to canonical scientific Datasets
- P28 — GX-TXT Python Script Workspace: User, Session and historical sources
- P29 — GX-TXT Python Script Workspace: help, accessibility and troubleshooting
5. Examples and guided paths
Four activities of increasing difficulty.
- W01 — GX-TXT Python Script Workspace: the first scientific script, from Celsius to kelvin
- W02 — GX-TXT Python Script Workspace: canonical Datasets, calibration and numeric publication
- W03 — GX-TXT Python Script Workspace: building a multi-file Project and exploring it with the debugger
- W04 — GX-TXT Python Script Workspace: from source to scientific result
Reference environment
The documentation refers to GX-TXT 0.9.8.10-dev-112 with patch P005 and to the analysis.python_script module version 1.6.3. The availability and behaviour of individual functions may change in later versions.