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 ascola
Recipients ascola
Date 2020-12-04.22:42:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
One of the types of arguments that I find myself most often passing to `argparse.ArgumentParser` is paths. I think that I am probably not alone in frequent usage of paths as arguments. Given this, it would be extremely helpful to have an `argparse.Action` in `argparse` or an type similar to `FileType` that converted the string to a path. A path type factory could also have an arguments to optionally check if the path exists, or is a directory, or other similar predicates.
Date User Action Args
2020-12-04 22:42:15ascolasetrecipients: + ascola
2020-12-04 22:42:15ascolasetmessageid: <>
2020-12-04 22:42:15ascolalinkissue42572 messages
2020-12-04 22:42:15ascolacreate