sample

sample

Python jsonからcsvファイルへ変換

import csv import json import sys import os def is_valid_json_file(filename): if not os.path.exists(filename): return Fa...
sample

Python コマンドライン引数付きサンプルスクリプト

sys.argvリストを使用してコマンドライン引数を取得できます 引数付きスクリプト import sys import json if __name__ == "__main__": if len(sys.argv) != 3: prin...