25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
243 B

  1. import argparse
  2. from certifi import contents, where
  3. parser = argparse.ArgumentParser()
  4. parser.add_argument("-c", "--contents", action="store_true")
  5. args = parser.parse_args()
  6. if args.contents:
  7. print(contents())
  8. else:
  9. print(where())