arguments~20171216-191828.py 200 B

12345678
  1. import sys
  2. def obtenir ( option ) :
  3. if option in sys.argv:
  4. index = sys.argv.index( option ) + 1
  5. if len( sys.argv ) > index :
  6. return sys.argv[ index ]
  7. return False