Dec-28-2021, 07:48 PM
(This post was last modified: Dec-28-2021, 07:48 PM by Gribouillis.)
My xonsh shell uses /usr/bin/python (which is linked to python3) as Python interpreter, in Ubuntu 20.04. So it uses the distribution's Python 3 interpreter. Of course Xonsh contains a specific parser for the xonsh language, which is a mix of python and shell constructs.
~/P/S/2021-12 import sys ~/P/S/2021-12 sys.executable '/usr/bin/python' ~/P/S/2021-12 echo "Hello xonsh!" Hello xonsh!