You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
255 B
Python
13 lines
255 B
Python
![]()
2 months ago
|
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())
|