{"id":3754,"date":"2013-04-23T09:49:36","date_gmt":"2013-04-23T09:49:36","guid":{"rendered":"http:\/\/178.62.14.192\/?p=3754"},"modified":"2013-04-23T09:49:36","modified_gmt":"2013-04-23T09:49:36","slug":"learn-python-basic-gui-app-with-the-raspberrypi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=3754","title":{"rendered":"Learn Python &#8211; Basic GUI App with the #RaspberryPi"},"content":{"rendered":"<p>David Briddock continues his excellent <a href=\"http:\/\/davidbriddock.blogspot.co.uk\/p\/learn-python.html\">Learn Python series<\/a> with this post on creating a basic GUI.\u00a0<a href=\"http:\/\/davidbriddock.blogspot.co.uk\/2013\/04\/learn-python-basic-gui-app.html?utm_source=feedly&amp;utm_medium=feed&amp;utm_campaign=Feed:+WordsByDavidBriddock+Words+by+David+Briddock\">Find out more here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>David Briddock continues his excellent Learn Python series with this post on creating a basic GUI.\u00a0Find out more here<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=3754\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[39,51],"tags":[],"class_list":["post-3754","post","type-post","status-publish","format-standard","hentry","category-programming","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Learn Python - Basic GUI App with the #RaspberryPi - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=3754\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn Python - Basic GUI App with the #RaspberryPi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"David Briddock continues his excellent Learn Python series with this post on creating a basic GUI.\u00a0Find out more hereRead more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=3754\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-04-23T09:49:36+00:00\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3754#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3754\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Learn Python &#8211; Basic GUI App with the #RaspberryPi\",\"datePublished\":\"2013-04-23T09:49:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3754\"},\"wordCount\":29,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"articleSection\":[\"Programming\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=3754#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3754\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3754\",\"name\":\"Learn Python - Basic GUI App with the #RaspberryPi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-04-23T09:49:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3754#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=3754\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3754#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learn Python &#8211; Basic GUI App with the #RaspberryPi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learn Python - Basic GUI App with the #RaspberryPi - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=3754","og_locale":"en_US","og_type":"article","og_title":"Learn Python - Basic GUI App with the #RaspberryPi - Raspberry Pi Pod","og_description":"David Briddock continues his excellent Learn Python series with this post on creating a basic GUI.\u00a0Find out more hereRead more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=3754","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-04-23T09:49:36+00:00","author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3754#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3754"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Learn Python &#8211; Basic GUI App with the #RaspberryPi","datePublished":"2013-04-23T09:49:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3754"},"wordCount":29,"commentCount":2,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["Programming","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=3754#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3754","url":"https:\/\/www.recantha.co.uk\/blog\/?p=3754","name":"Learn Python - Basic GUI App with the #RaspberryPi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-04-23T09:49:36+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3754#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=3754"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3754#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Learn Python &#8211; Basic GUI App with the #RaspberryPi"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-Yy","jetpack-related-posts":[{"id":16989,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16989","url_meta":{"origin":3754,"position":0},"title":"Use a Raspberry Pi, RSS and GUI Zero to create a news reader","author":"Michael Horne","date":"26 June 2017","format":false,"excerpt":"Les Pounder has been having a play with Laura's GUI Zero Python library which makes it easy to create GUIs. He's created a program which reads in news via RSS\u00a0and then displays the top news stories inside a miniature GUI. It's an interesting example of how to use publicly-available sources\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/06\/news.png?fit=702%2C479&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/06\/news.png?fit=702%2C479&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/06\/news.png?fit=702%2C479&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/06\/news.png?fit=702%2C479&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":12517,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12517","url_meta":{"origin":3754,"position":1},"title":"GUI for controlling NeoPixels on the Raspberry Pi","author":"Michael Horne","date":"5 May 2015","format":false,"excerpt":"Stewart Watkiss, over at PenguinTutor.com\u00a0has written some code in Python using the Tkinter library that produces a GUI for controlling NeoPixels with the MyPiFi NeoPixel controller board. The GUI has nice big buttons (so it's good for touchscreen set-ups) and has plenty of options for standard sequences. It's a work-in-progress\u2026","rel":"","context":"In &quot;Graphics&quot;","block_context":{"text":"Graphics","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=67"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.penguintutor.com\/projects\/images\/neopixelgui1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":12540,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12540","url_meta":{"origin":3754,"position":2},"title":"Desktop GUI update for the Raspberry Pi","author":"Michael Horne","date":"8 May 2015","format":false,"excerpt":"Simon Long from the Raspberry Pi Foundation has just announced a big update for the standard desktop GUI. Improvements include: New interface for setting up\u00a0network connections (including wi-fi). New interface for volume and audio settings. New interface for changing desktop appearance. Speed and compatibility improvements for the Epiphany web browser.\u2026","rel":"","context":"In &quot;Operating systems&quot;","block_context":{"text":"Operating systems","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=15"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2015\/05\/wifi2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16779,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16779","url_meta":{"origin":3754,"position":3},"title":"New learning resources from the Raspberry Pi Foundation &#8211; GUIs! Theremin! Umm&#8230; Poo!","author":"Michael Horne","date":"19 April 2017","format":false,"excerpt":"Every now and then, I review the Raspberry Pi learning resources page\u00a0to find out what they've been working on. Today is one of those days! Getting Started with GUIs One of Laura's pet projects is GUI Zero, a wrapper for GUI library tkinter that has been designed to make it\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/ultrasonic_theramin.png?fit=688%2C361&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/ultrasonic_theramin.png?fit=688%2C361&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/ultrasonic_theramin.png?fit=688%2C361&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3262,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=3262","url_meta":{"origin":3754,"position":4},"title":"Learn Python for the #RaspberryPi with this series of articles","author":"Michael Horne","date":"29 March 2013","format":false,"excerpt":"David Briddock has been hard at work writing a series of blog posts about Python and how to use it. This series caters for beginners of all ages who want to learn how to program and don't know where to start. There are 5 lessons so far and the series\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2289,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2289","url_meta":{"origin":3754,"position":5},"title":"How to Think like a Computer Scientist with Python","author":"Michael Horne","date":"18 February 2013","format":false,"excerpt":"InteractivePython.org have created a wonderful article\/tutorial to teach basic programming concepts using Python. This is an excellent educational resource. Hello, Little Turtles! \u2014 How to Think like a Computer Scientist: Interactive Edition.","rel":"","context":"In &quot;Education&quot;","block_context":{"text":"Education","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=17"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3754"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3754\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}