python 3中缺少argparse [英] argparse missing in python 3

查看:25
本文介绍了python 3中缺少argparse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


有人知道,为什么 argparse 模块没有在 python 3 中实现?它是 python 2.7 中的新功能,但 2.x 分支在 2.7 中用完了.在实际的 python 3 分支中不支持它对我来说毫无意义.


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.

推荐答案

它将在 Python 3.2 中.它刚刚添加到 Python 2.7 中,Python 2.7 刚刚于今年 7 月发布;Python 3.2 将是该日期之后的下一个 3.x 版本.

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.

这篇关于python 3中缺少argparse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆