Pythonスクリプトに与えられたコマンドライン引数を処理するには
https://atmarkit.itmedia.co.jp/ait/articles/2112/21/news025.html


巻き込まれる人は可哀そうだが