Visitar URL original
Add a command-line interface for the glob module · Issue #118133 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260228145453/https://github.com/python/cpython/issues/118133
Skip to content
/ cpython Public

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