Console for Interpreter Sessions in Python
- Updated2025-07-23
- 1 minute(s) read
You can use Advanced Settings Dialog to specify if you want to display console for each Python interpreter session created for executing Python code modules.
The console will be automatically closed based on the lifetime of Python interpreter session which is configured in Python Interpreter to Use. The console window for the Global interpreter option will stay open between executions. Call 'Unload All Modules' to properly unload the Global interpreter and close the window.
Manually closing the console will close the Python interpreter session which might lead to error when executing Python code module. Hence, you should not close Python interpreter session console.
Note
You cannot access the data, printed in console, from TestStand. If you need any such data, you need to return the data to TestStand from a function call or store the data in an attribute and access the attribute from TestStand.