Skip to content

Add a command-line interface for the glob module #118133

@ZeroIntensity

Description

@ZeroIntensity

Feature or enhancement

Proposal:

The following command:

python -m glob *.txt

would be more or less equivalent to

print(" ".join(glob("*.txt")))

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions