argparse missing in python 3

╄→гoц情女王★ 提交于 2019-12-23 10:51:02

问题



does somebody know, why the argparse module didn't make it in python 3? it's new in python 2.7, but the 2.x branch is running out with 2.7. it makes no sense to me not to support it in the actual python 3 branch.


回答1:


It will be in Python 3.2. It was just added in Python 2.7, which was released just this July; Python 3.2 will be the next 3.x release after that date.




回答2:


argparse is in Python 3, 3.2 to be specific. See also: http://www.python.org/dev/peps/pep-0389/



来源:https://stackoverflow.com/questions/3817481/argparse-missing-in-python-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!