Create __main__.py by stefansjs · Pull Request #400 · lincolnloop/python-qrcode

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@stefansjs

Copy link Copy Markdown

Contributor

This file lets you execute qr code as a module from the command-line.

e.g.

python -m qrcode --output qrcode.png "github.com/linkcolnloop/python-qrcode"

@bartTC

Copy link Copy Markdown

Member

bartTC commented

Jul 22, 2025

This is great, thank you!

Added tests for it in #402 and merged it. Will be in the next release.

@bartTC bartTC closed this

Jul 22, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@stefansjs @bartTC