{"provider_url":"https://hatena.blog","height":"190","author_url":"https://blog.hatena.ne.jp/dk521123/","published":"2023-10-20 00:00:00","author_name":"dk521123","url":"https://dk521123.hatenablog.com/entry/2023/10/20/000000","image_url":null,"type":"rich","width":"100%","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2","description":"\u25a0 \u306f\u3058\u3081\u306b https://dk521123.hatenablog.com/entry/2019/10/12/075251 \u304b\u3089\u306e\u5206\u518a\u3002 \u6587\u5b57\u5217\u64cd\u4f5c\u306b\u3064\u3044\u3066\u3001\u30e1\u30e2\u3002 \u76ee\u6b21 \u3010\uff11\u3011\u7f6e\u63db / \u9664\u53bb \uff11\uff09replace \uff12\uff09removeprefix / removesuffix (From Python3.9) \u3010\uff12\u3011\u5206\u5272 \uff11\uff09split \uff12\uff09rsplit \u3010\uff13\u3011\u9023\u7d50 \uff11\uff09join \u3010\uff11\u3011\u7f6e\u63db / \u9664\u53bb \uff11\uff09replace target = \"2020/01/01\" result = target.replace(\"/\", \"-\") print('Result : ' + result) \uff12\uff09re\u2026","categories":["Python"],"provider_name":"Hatena Blog","version":"1.0","blog_url":"https://dk521123.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2023%2F10%2F20%2F000000\" title=\"\u3010Python\u3011Python \uff5e \u57fa\u672c\u7de8 / \u6587\u5b57\u5217\u64cd\u4f5c \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>","title":"\u3010Python\u3011Python \uff5e \u57fa\u672c\u7de8 / \u6587\u5b57\u5217\u64cd\u4f5c \uff5e"}