{"id":3732,"date":"2018-06-03T14:57:18","date_gmt":"2018-06-03T05:57:18","guid":{"rendered":"https:\/\/www.ws-meguro.com\/\/?p=3732"},"modified":"2018-06-03T15:01:58","modified_gmt":"2018-06-03T06:01:58","slug":"youtube%e3%81%a7derek%e3%81%95%e3%82%93%e3%81%ab%e3%82%88%e3%82%8bkivy-tutorial%e3%82%92%e5%ad%a6%e3%81%b6%e2%91%a0","status":"publish","type":"post","link":"https:\/\/www.wsmeguro.jp\/wp\/?p=3732","title":{"rendered":"YouTube\u3067Derek\u3055\u3093\u306b\u3088\u308bKivy Tutorial\u3092\u5b66\u3076\u2460"},"content":{"rendered":"<p>Kivy\u306b\u95a2\u3059\u308b\u60c5\u5831\u306f\u3001<a href=\"https:\/\/kivy.org\/#home\" target=\"_blank\" rel=\"noopener\">Kivy\u306e\u516c\u5f0f\u30da\u30fc\u30b8<\/a>\u3068<a href=\"https:\/\/pyky.github.io\/kivy-doc-ja\/guide\/basic.html#\" target=\"_blank\" rel=\"noopener\">\u65e5\u672c\u8a9e\u7ffb\u8a33\u30da\u30fc\u30b8<\/a>\u3067\u3059\u304c\u3001\u306a\u304b\u306a\u304b\u6357\u3089\u306a\u3044\u3068\u3044\u3046\u304b\u3001\u96c6\u4e2d\u3067\u304d\u306a\u3044\u3002<br \/>\n\u305d\u3093\u306a\u304b\u3001YouTube\u3067Kivy Tutorial\u3063\u3066\u691c\u7d22\u3059\u308b\u3068\u306a\u3093\u3060\u304b\u51fa\u3066\u304f\u308b\u51fa\u3066\u304f\u308b\u3002\u305d\u306e\u4e2d\u3067\u3001<a href=\"https:\/\/www.youtube.com\/results?search_query=kivy+tutorial+derek\" target=\"_blank\" rel=\"noopener\">Derek\u3055\u3093\u306e\u30d3\u30c7\u30aa<\/a>\u3092\u3061\u3089\u3061\u3089\u898b\u3066\u307f\u307e\u3057\u305f\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u9055\u3044\u304b\u3089\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u901a\u308a\u3084\u308b\u3068\u52d5\u304b\u306a\u3044\u306e\u3067\u3001\u9069\u5b9c\u5909\u63db\u3057\u306a\u304c\u3089\u9032\u3081\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n<div class=\"lyte-wrapper fourthree\" title=\"Kivy Tutorial\" style=\"width:480px;max-width:100%;margin:5px;\"><div class=\"lyMe\" id=\"WYL_B79miUFD_ss\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\"><div><meta itemprop=\"thumbnailUrl\" content=\"https:\/\/i.ytimg.com\/vi\/B79miUFD_ss\/hqdefault.jpg\" \/><meta itemprop=\"embedURL\" content=\"https:\/\/www.youtube.com\/embed\/B79miUFD_ss\" \/><meta itemprop=\"duration\" content=\"PT11M25S\" \/><meta itemprop=\"uploadDate\" content=\"2016-10-05T11:29:20.000Z\" \/><\/div><div id=\"lyte_B79miUFD_ss\" data-src=\"https:\/\/i.ytimg.com\/vi\/B79miUFD_ss\/hqdefault.jpg\" class=\"pL\"><div class=\"tC\"><div class=\"tT\" itemprop=\"name\">Kivy Tutorial<\/div><\/div><div class=\"play\"><\/div><div class=\"ctrl\"><div class=\"Lctrl\"><\/div><div class=\"Rctrl\"><\/div><\/div><\/div><noscript><a href=\"https:\/\/youtu.be\/B79miUFD_ss\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.ytimg.com\/vi\/B79miUFD_ss\/0.jpg\" alt=\"Kivy Tutorial\" width=\"480\" height=\"340\" \/><br \/>\u3053\u306e\u52d5\u753b\u3092 YouTube \u3067\u8996\u8074<\/a><\/noscript><meta itemprop=\"description\" content=\"Code &amp; Transcript : https:\/\/goo.gl\/TKBr9t Best Kivy Book : http:\/\/amzn.to\/2duPAFD Support me on Patreon : https:\/\/www.patreon.com\/derekbanas Kivy is a graphical user interface Python library that allows you to develop multiplatform applications on Windows, MacOS, Android, iOS, Linux, and Raspberry Pi. What is better is that it performs better then HTML5 cross platform alternatives. Here I&#039;ll show how to install it on both MacOS and Windows. We will also make a few sample apps to make sure everything works. If you missed any of the previous Python videos, the series starts here : https:\/\/www.youtube.com\/playlist?list=PLGLfVvz_LVvTn3cK5e6LjhgGiSeVlIRwt Thank you to Patreon supports like the following for helping me make this video https:\/\/www.facebook.com\/cottageindustriesbuild\/ @kyleaisho @thetwistedhat vjFaLk\"><\/div><\/div><div class=\"lL\" style=\"max-width:100%;width:480px;margin:5px;\"><\/div><br \/>\n<!--more--><\/p>\n<p>\uff11\uff0e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n\u6700\u521d\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u306e\u3067\u3001\u524a\u9664\u3002<\/p>\n<p>\uff12\uff0eHello Kivy<br \/>\nmain.py\u306b\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u8a18\u8ff0\u3057\u3066\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089<br \/>\n\uff08mac\u306e\u5834\u5408\uff09kivy main.py<br \/>\n\uff08Windows\u306e\u5834\u5408\uff09python main.py<\/p>\n<pre class=\"lang:python decode:true \">import kivy\r\nkivy.require('1.10.0')\r\n\r\nfrom kivy.app import App\r\nfrom kivy.uix.label import Label\r\n\r\n#HelloApp(App)\u3067\u3001Widget\u3092\u8868\u793a\u3059\u308bWindow\u3092App\u30af\u30e9\u30b9\u304b\u3089\u7d99\u627f\uff08\u3068\u3044\u3046\u611f\u3058\u306e\u30b3\u30e1\u30f3\u30c8\uff09\r\nclass HelloKivy(App):\r\n    #Window\u306b\u8868\u793a\u3057\u305f\u3044\u30b3\u30f3\u30c6\u30f3\u30c8\u3092\u6307\u5b9a\r\n    def build(self):\r\n        #Hello Kivy!\u3092\u8a18\u8f09\u3055\u308c\u305f\u30e9\u30d9\u30ebWidget\u3092\u8868\u793a\u3059\u308b\u3068\u8fd4\u3059\r\n        return Label(text=\"Hello Kivy !\")\r\n\r\nif __name__ == \"__main__\":\r\n    HelloKivy().run()<\/pre>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u753b\u9762\u304c\u51fa\u308b\u306f\u305a<br \/>\n<a href=\"https:\/\/www.wsmeguro.jp\/\/wp\/wp-content\/uploads\/2018\/06\/0ca9ce4645a0f134d000c87202f33e96.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3733\" src=\"https:\/\/www.wsmeguro.jp\/\/wp\/wp-content\/uploads\/2018\/06\/0ca9ce4645a0f134d000c87202f33e96.png\" alt=\"\" width=\"816\" height=\"639\" srcset=\"https:\/\/www.wsmeguro.jp\/wp\/wp-content\/uploads\/2018\/06\/0ca9ce4645a0f134d000c87202f33e96.png 816w, https:\/\/www.wsmeguro.jp\/wp\/wp-content\/uploads\/2018\/06\/0ca9ce4645a0f134d000c87202f33e96-300x235.png 300w, https:\/\/www.wsmeguro.jp\/wp\/wp-content\/uploads\/2018\/06\/0ca9ce4645a0f134d000c87202f33e96-768x601.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/a><\/p>\n<p>\u6b21\u306f\u3001kv\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066Label\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u3002\u307e\u305a\u306f\u3001\u300cmain.py\u300d\u3092kv\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3081\u308b\u3088\u3046\u306b\u4ee5\u4e0b\u306e\u901a\u308a\u4fee\u6b63\u3059\u308b\uff08\u4fee\u6b63\u524d\u306f\u30b3\u30e1\u30f3\u30c8\u5316\uff09\u3002<\/p>\n<pre class=\"lang:python decode:true \">import kivy\r\nkivy.require('1.10.0')\r\n\r\nfrom kivy.app import App\r\nfrom kivy.uix.label import Label\r\n\r\n#HelloApp(App)\u3067\u3001Widget\u3092\u8868\u793a\u3059\u308bWindow\u3092App\u30af\u30e9\u30b9\u304b\u3089\u7d99\u627f\uff08\u3068\u3044\u3046\u611f\u3058\u306e\u30b3\u30e1\u30f3\u30c8\uff09\r\n#kv\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u30af\u30e9\u30b9\u306e\u540d\u524d\u306fxxxApp\u3068\u306a\u308b\u3002\r\nclass HelloApp(App):\r\n#class HelloKivy(App):\r\n    #Window\u306b\u8868\u793a\u3057\u305f\u3044\u30b3\u30f3\u30c6\u30f3\u30c8\u3092\u6307\u5b9a\r\n    def build(self):\r\n        # Return a label widget with Hello Kivy\r\n        #Hello Kivy!\u3092\u8a18\u8f09\u3055\u308c\u305f\u30e9\u30d9\u30ebWidget\u3092\u8868\u793a\u3059\u308b\u3068\u8fd4\u3059\r\n        #kv\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u30af\u30e9\u30b9\u306e\u540d\u524d\u304b\u3089App\u3092\u9664\u3044\u305fxxx.kv\u3068\u306a\u308b\u3002\r\n        return Label()\r\n        #return Label(text=\"Hello Kivy !\")\r\n\r\nif __name__ == \"__main__\":\r\n    HelloApp().run()\r\n    #HelloKivy().run()\r\n<\/pre>\n<p>\u6b21\u306b\u3001\u300chello.kv\u300d\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3002<\/p>\n<pre class=\"lang:python decode:true \"><label>:\r\n    # kv\u30d5\u30a1\u30a4\u30eb\u3092\u3064\u304b\u3046\u3053\u3068\u3067\u3001\u30ed\u30b8\u30c3\u30af\u3068\u8868\u73fe\u306e\u30ec\u30a4\u30e4\u30fc\u3068\u5206\u96e2\u304c\u53ef\u80fd\u306b\u306a\u308b\r\n    text: \"Hello Kivy!!\"<\/label><\/pre>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u3067\u304d\u308b\u306f\u305a\uff08\uff01\u304c\u4e00\u3064\u591a\u3044\uff09<br \/>\n<a href=\"https:\/\/www.wsmeguro.jp\/\/wp\/wp-content\/uploads\/2018\/06\/c2684131265b40da95c01d41786d5d30.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3734\" src=\"https:\/\/www.wsmeguro.jp\/\/wp\/wp-content\/uploads\/2018\/06\/c2684131265b40da95c01d41786d5d30.png\" alt=\"\" width=\"816\" height=\"639\" srcset=\"https:\/\/www.wsmeguro.jp\/wp\/wp-content\/uploads\/2018\/06\/c2684131265b40da95c01d41786d5d30.png 816w, https:\/\/www.wsmeguro.jp\/wp\/wp-content\/uploads\/2018\/06\/c2684131265b40da95c01d41786d5d30-300x235.png 300w, https:\/\/www.wsmeguro.jp\/wp\/wp-content\/uploads\/2018\/06\/c2684131265b40da95c01d41786d5d30-768x601.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/a><br \/>\nmain.py\u3067Label\u306e\u6307\u5b9a\u3092\u884c\u308f\u305a\u3001hello.kv\u3067&lt;label&gt;:\u306e\u3068\u3053\u308d\u3067\u3001\u3069\u3046\u3044\u3046Label\u306a\u306e\u304b\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3002<\/label><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kivy\u306b\u95a2\u3059\u308b\u60c5\u5831\u306f\u3001Kivy\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u3068\u65e5\u672c\u8a9e\u7ffb\u8a33\u30da\u30fc\u30b8\u3067\u3059\u304c\u3001\u306a\u304b\u306a\u304b\u6357\u3089\u306a\u3044\u3068\u3044\u3046\u304b\u3001\u96c6\u4e2d\u3067\u304d\u306a\u3044\u3002 \u305d\u3093\u306a\u304b\u3001YouTube\u3067Kivy Tutorial\u3063\u3066\u691c\u7d22\u3059\u308b\u3068\u306a\u3093\u3060\u304b\u51fa\u3066\u304f\u308b\u51fa\u3066\u304f\u308b\u3002\u305d\u306e\u4e2d\u3067\u3001Der&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[526],"tags":[563,527,513],"class_list":["post-3732","post","type-post","status-publish","format-standard","hentry","category-python","tag-kivy","tag-python","tag-513"],"_links":{"self":[{"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3732"}],"version-history":[{"count":4,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3732\/revisions"}],"predecessor-version":[{"id":3738,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3732\/revisions\/3738"}],"wp:attachment":[{"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsmeguro.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}