Hej relax.
When runs python, it can be done with:
python -i script.py
There after one can continue examining the variables.
Is the same feature available in relax?
if test.py contains:
If I do:
--------
relax script.py
------
It prints, and quit.
If i do:
----------------
relax
relax> script('test.py')
script = 'test.py'
----------------------------------------------------------------------------------------------------
t=2
b=t*2
print(b)
----------------------------------------------------------------------------------------------------
4
relax> print b
Traceback (most recent call last):
File "<console>", line 1, in <module>
NameError: name 'b' is not defined
-----------------
Is it possible to run a script and still have access to the variables?
Best
Troels