{"author_url":"https://blog.hatena.ne.jp/jgs/","published":"2015-02-08 15:38:49","description":"\u3053\u3093\u306b\u3061\u306f Co-Routine\u306fPython\u306e\u4e2d\u306b\u3069\u3046\u3044\u3046\u3075\u3046\u306b \u5229\u7528\u3067\u304d\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u30b3\u30eb\u30fc\u30c1\u30f3\u3068\u306f \u901a\u5e38\u306e\u95a2\u6570/Function\u306f\u30ed\u30b8\u30c3\u30af\u3092\u5b9f\u884c\u3057\u3066 \u6700\u5f8creturn\u3067\u7d42\u4e86\u3059\u308b \u30b3\u30eb\u30fc\u30c1\u30f3\u306f\u5b9f\u884c\u3092\u4e2d\u65ad\u3057\u3066\u3001\u7d9a\u304d\u304b\u3089\u51e6\u7406\u3092 \u518d\u958b\u3067\u304d\u307e\u3059\u3002 Python\u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc(Generator)\u306f Co-Routine\u306e\u3088\u3046\u306a\u52d5\u304d\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002 \u30b7\u30f3\u30d7\u30eb\u306e\u4f8b\u3092\u3042\u3052\u307e\u3059\u3002 #!/usr/bin/env python # -*- coding: utf-8 -*- #Generator\u5b9a\u7fa9 def g(): yield \"hello\" yield \"python\" yield \"!\" #Gene\u2026","height":"190","blog_url":"https://jgs.hatenadiary.jp/","width":"100%","image_url":null,"version":"1.0","type":"rich","author_name":"jgs","url":"https://jgs.hatenadiary.jp/entry/20150208/1423377529","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjgs.hatenadiary.jp%2Fentry%2F20150208%2F1423377529\" title=\"Python\u306e\u30b3\u30eb\u30fc\u30c1\u30f3(co-routine) - Python\u3067\u3057\u3087\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"title":"Python\u306e\u30b3\u30eb\u30fc\u30c1\u30f3(co-routine)","provider_name":"Hatena Blog","blog_title":"Python\u3067\u3057\u3087\uff01","provider_url":"https://hatena.blog"}