Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I'm using python's argparse package in CentOS6. I installed it by the following command.
# yum install python-argparse
However, I could not find the package in RHEL5 and 6. Where is it? How can I get argparse?
尝试通过easy_install或pip安装 python 包:
# easy_install argparse # pip install argparse
您可以通过包管理器安装easy_install或pip 。
argparse 是一个 Python 标准库,这意味着你可以使用
import argparse
使用它