{"author_name":"dk521123","categories":["Python"],"provider_name":"Hatena Blog","title":"\u3010Python\u3011Python \uff5e \u57fa\u672c\u7de8 / \u65e5\u4ed8\u30fb\u65e5\u6642\u3042\u308c\u3053\u308c \uff5e","type":"rich","image_url":null,"version":"1.0","blog_url":"https://dk521123.hatenablog.com/","provider_url":"https://hatena.blog","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2","published":"2022-02-01 00:00:00","width":"100%","url":"https://dk521123.hatenablog.com/entry/2022/02/01/000000","height":"190","author_url":"https://blog.hatena.ne.jp/dk521123/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2022%2F02%2F01%2F000000\" title=\"\u3010Python\u3011Python \uff5e \u57fa\u672c\u7de8 / \u65e5\u4ed8\u30fb\u65e5\u6642\u3042\u308c\u3053\u308c \uff5e - \u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u25a0 \u306f\u3058\u3081\u306b https://dk521123.hatenablog.com/entry/2019/10/14/121909 \u306e\u7d9a\u304d\u3002 \u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u306a\u3069\u3092\u4f5c\u308b\u306e\u306b\u3001\u65e5\u4ed8\u306e\u51e6\u7406\u306b\u3064\u3044\u3066\u6271\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 \u76ee\u6b21 \u3010\uff11\u3011X\u65e5\u524d\u306e\u65e5\u4ed8\u306e\u53d6\u5f97 \u3010\uff12\u3011\u65e5\u4ed8\u3067\u30eb\u30fc\u30d7\u3055\u305b\u308b \u3010\uff13\u3011\u6708\u521d\u30fb\u6708\u672b\u306e\u53d6\u5f97 \u3010\uff11\u3011X\u65e5\u524d\u306e\u65e5\u4ed8\u306e\u53d6\u5f97 from datetime import datetime, timedelta print(datetime.now().strftime('%Y%m%d')) # e.g. 20231031 three_days_ago = datetime.now() - timedelta(days\u2026"}