{"published":"2016-07-02 13:55:03","blog_url":"https://taka-say.hateblo.jp/","height":"190","categories":["Python"],"title":"\u3010Python3\u3011\u6587\u5b57\u5217\u5909\u6570\u3092raw\u6587\u5b57\u5217\u3067\u51fa\u529b\u3059\u308b","description":"\u5909\u6570\u306e\u4e2d\u8eab\u306e\u30a8\u30b9\u30b1\u30fc\u30d7\u30b7\u30fc\u30b1\u30f3\u30b9\u306f\u81ea\u52d5\u7684\u306b\u89e3\u91c8\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002 \u4f8b\u3048\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 >>> s = '1\\n2\\n3\\n' >>> print(s) 1 2 3 \u5909\u6570\u306b\u5bfe\u3057\u3066Python\u306eraw string\u8a18\u6cd5\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002 \u305d\u3053\u3067repr\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001 >>> print(repr(s)) '1\\n2\\n3\\n' \u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u53c2\u8003 How to print raw string data from a variable - Python","provider_url":"https://hatena.blog","type":"rich","author_url":"https://blog.hatena.ne.jp/taka_say/","width":"100%","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaka-say.hateblo.jp%2Fentry%2F2016%2F07%2F02%2F135503\" title=\"\u3010Python3\u3011\u6587\u5b57\u5217\u5909\u6570\u3092raw\u6587\u5b57\u5217\u3067\u51fa\u529b\u3059\u308b - \u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u7528\u3044\u308b\u8a00\u8449\u306e\u9078\u629e\u3067\u6c7a\u307e\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u7528\u3044\u308b\u8a00\u8449\u306e\u9078\u629e\u3067\u6c7a\u307e\u308b","version":"1.0","image_url":null,"author_name":"taka_say","url":"https://taka-say.hateblo.jp/entry/2016/07/02/135503"}