This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients eric.smith, nabelekt, paul.j3, rhettinger
Date 2020-12-19.02:04:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608343477.97.0.516022197021.issue42677@roundup.psfhosted.org>
In-reply-to
Content
https://docs.python.org/3/library/argparse.html#customizing-file-parsing

in the docs describes how to customize the @file reading.  This particular extension handles several strings on a line, but that's not the limit of what you could do.

You can also read a file before parsing and construct a custom `argv` list, as described in https://docs.python.org/3/library/argparse.html#beyond-sys-argv
History
Date User Action Args
2020-12-19 02:04:38paul.j3setrecipients: + paul.j3, rhettinger, eric.smith, nabelekt
2020-12-19 02:04:37paul.j3setmessageid: <1608343477.97.0.516022197021.issue42677@roundup.psfhosted.org>
2020-12-19 02:04:37paul.j3linkissue42677 messages
2020-12-19 02:04:37paul.j3create