-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Is your feature request related to a problem? Please describe.
One thing I often need to know is the executable name of the Python interpreter (although to be fair, with the new pythonX.Y
aliases, that need might not be as great any more). It would be nice if this was part of the default output of py list
.
Describe the solution you'd like
Add the executable path (or sys.prefix, it's not critical which) to the default display of py list
.
Describe alternatives you've considered
Given that there's limited screen space, removing the "aliases" column in favour of "executable" might be worthwhile. The aliases are fairly easy to deduce from the version, so seem less helpful to have available by default.
It's possible to get the data via py list --format=json | jq
, but the schema is rather complex (and undocumented?) and jq isn't the easiest language to use.