{"version":"1.0","published":"2023-05-03 23:14:40","blog_url":"https://htn20190109.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2023%2F05%2F03%2F231440\" title=\"{Python}Base64\u30a8\u30f3\u30b3\u30fc\u30c9\u3068URL\u30a8\u30f3\u30b3\u30fc\u30c9 - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://htn20190109.hatenablog.com/entry/2023/05/03/231440","type":"rich","description":"https://analytics-note.xyz/programming/python-base64/https://note.nkmk.me/python-urllib-parse-quote-unquote/ import base64 print(base64.b64encode('admin:admin'.encode()).decode())print(base64.b64decode(b'YWRtaW46YWRtaW4=').decode()) \u203b\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u5408 import base64 f = open('a.txt', 'w')f.write('admin:admin\\n\u2026","author_url":"https://blog.hatena.ne.jp/HTN20190109/","blog_title":"HTN20190109\u306e\u65e5\u8a18","author_name":"HTN20190109","provider_name":"Hatena Blog","height":"190","width":"100%","categories":["Python"],"image_url":null,"provider_url":"https://hatena.blog","title":"{Python}Base64\u30a8\u30f3\u30b3\u30fc\u30c9\u3068URL\u30a8\u30f3\u30b3\u30fc\u30c9"}