Verwenden Sie dieselbe Option mehrmals in Pythons Argparse

Ich versuche, ein Skript zu schreiben, das mehrere Eingabequellen akzeptiert und mit jeder etwas macht. Etwas wie das ./my_script.py \ -i input1_url input1_name input1_other_var \ -i input2_url input2_name input2_other_var \ -i input3_url input3_name # notice inputX_other_var is optional Aber ich...