{"image_url":null,"type":"rich","provider_url":"https://hatena.blog","height":"190","provider_name":"Hatena Blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/minus9d/","categories":["python"],"blog_url":"https://minus9d.hatenablog.com/","url":"https://minus9d.hatenablog.com/entry/2020/09/27/180129","author_name":"minus9d","published":"2020-09-27 18:01:29","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fminus9d.hatenablog.com%2Fentry%2F2020%2F09%2F27%2F180129\" title=\"Python\u306eexception\u3092print()\u3057\u3066\u4f55\u3082\u51fa\u306a\u3044\u539f\u56e0 - minus9d&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Python\u306eexception\u3092print()\u3057\u3066\u4f55\u3082\u51fa\u306a\u3044\u539f\u56e0","description":"Python 3\u306b\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f8b\u5916\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092print()\u3059\u308b\u30b3\u30fc\u30c9 try: raise ValueError except Exception as e: print(e) \u3092\u5b9f\u884c\u3057\u3066\u3082\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f55\u3082\u51fa\u529b\u3055\u308c\u307e\u305b\u3093\u3002 \u7d50\u8ad6\u304b\u3089\u3044\u3046\u3068\u3001\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3059\u308b\u3068 try: raise ValueError('value error has occured') except Exception as e: print(e) \u4ee5\u4e0b\u306e\u69d8\u306b\u51fa\u529b\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 value error has occured \u3053\u308c\u306f\u306a\u305c\u304b\u3092\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002 Python\u306eraise\u6587\u3067\u6295\u3052\u2026","blog_title":"minus9d's diary"}