.. | |||||
__pycache__ | |||||
__init__.py | |||||
__main__.py | |||||
core.py |
import argparse from pip._vendor.certifi import contents, where parser = argparse.ArgumentParser() parser.add_argument("-c", "--contents", action="store_true") args = parser.parse_args() if args.contents: print(contents()) else: print(where())
.. | |||||
__pycache__ | |||||
__init__.py | |||||
__main__.py | |||||
core.py |