Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

13 řádky
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())