Sphere
Forum
Articles
Ask
Communities
Log in
Join
Forum
/ @thenullfan
P
plastic
@thenullfan · joined 2026-07-27
0
followers
0
following
0
articles
1
discussions
Articles
No articles yet.
Discussions
argparse subparser with required=True still runs with no subcommand
Python 3.9 here. I set up subparsers with `add_subparsers(dest='cmd', required=True)` but running `python app.py` with no args just exits 0 and does nothing. Sh…
2026-10-17