Closed keitherskine closed 1 year ago
The standard library package optparse has been deprecated since Python 3.2. It will be removed in Python 3.12. Hence, this PR replaces the use of optparse with argparse (but not in Python 2.7 code).
optparse
argparse
Thanks @gordthompson ! Much appreciated.
The standard library package
optparse
has been deprecated since Python 3.2. It will be removed in Python 3.12. Hence, this PR replaces the use ofoptparse
withargparse
(but not in Python 2.7 code).