Skip to content

Replace optparse with argparse #19

@mbrukman

Description

@mbrukman

According to https://docs.python.org/2/library/optparse.html:

Deprecated since version 2.7: The optparse module is deprecated and will not be developed further; development will continue with the argparse module.

Since argparse is also available starting in Python 2.7, we aren't losing any compatibility with Python 2.x by switching to it, and we'll become forward-compatible with Python 3.x and beyond as optparse will likely be removed from Python stdlib at some point.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions