Skip to content

py list doesn't show the executable path #86

@pfmoore

Description

@pfmoore

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions