- Notifications
You must be signed in to change notification settings - Fork11
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 newpythonX.Y
aliases, that need might not be as great any more). It would be nice if this was part of the default output ofpy list
.
Describe the solution you'd like
Add the executable path (or sys.prefix, it's not critical which) to the default display ofpy 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 viapy list --format=json | jq
, but the schema is rather complex (and undocumented?) and jq isn't the easiest language to use.