Use argparse instead of optparse
Closed this issue · 2 comments
Iansus commented
The optparse
module is deprecated, as stated in Python official documentation:
Deprecated since version 2.7: The optparse module is deprecated and will not be developed further; development will continue with the argparse module.
You can switch to argparse
which provides a similar set of features.
maaaaz commented
Hello @Iansus,
I'm keeping optparse
as it is available on old Python versions, whereas argparse
only appeared with the 2.7 version
But I know optparse
won't be supported in a near future for 3.x versions so I will replace it soon, while adding version 3 compatibility.
Cheers