Skip to content

Commit 1073068

Browse files
authored
Update README.md
1 parent a92ea3e commit 1073068

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ Which xonsh and which Python used to run **current** xonsh session:
129129
import sys
130130
[sys.argv[0], sys.executable]
131131
# ['/opt/homebrew/bin/xonsh', '/opt/homebrew/opt/python@3.11/bin/python3.11']
132+
133+
134+
@(sys.executable) -m site
135+
# Full info about paths
132136
```
133137

134138
Which `xonsh` and which `python` will be executed to run **new instances** - this depends on the list of directories in `$PATH` or virtual environment:
@@ -139,6 +143,9 @@ $PATH
139143

140144
[$(ls -la @$(which xonsh)), $(ls -la @$(which python)), $(python -V)]
141145
# ['/home/user/miniconda3/bin/xonsh', '/home/user/miniconda3/bin/python -> python3.11', 'Python 3.11.1']
146+
147+
python -m site
148+
# Full info about paths
142149
```
143150

144151
#### pipx and xonsh

0 commit comments

Comments
 (0)