PythonでYYYY-MM-DD形式で日付を扱う 2017-10-11 python import datetime today = datetime.date.today() today.isoformat()