9 lines
200 B
Python
9 lines
200 B
Python
import sys
|
|
|
|
def obtenir ( option ) :
|
|
if option in sys.argv:
|
|
index = sys.argv.index( option ) + 1
|
|
if len( sys.argv ) > index :
|
|
return sys.argv[ index ]
|
|
return False
|