PYTHON   19

argtest

Guest on 23rd August 2022 11:00:21 AM

  1. import sys
  2.  
  3. print('Count:', len(sys.argv))
  4. print('Type:', type(sys.argv))
  5.  
  6. for arg in sys.argv:
  7.     print('Argument:', arg)

Raw Paste


Login or Register to edit or fork this paste. It's free.