{"id":1769,"date":"2017-06-16T12:43:15","date_gmt":"2017-06-16T12:43:15","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?p=1769"},"modified":"2017-06-16T12:43:49","modified_gmt":"2017-06-16T12:43:49","slug":"python-thonny","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2017\/06\/16\/python-thonny\/","title":{"rendered":"Python &#8211; Thonny"},"content":{"rendered":"<p>I know that some of you have struggled to get Python working at home, so let me introduce you to <a href=\"http:\/\/thonny.org\/\">Thonny<\/a>.<\/p>\n<p>Thonny is a Python IDE for beginners, it has Python built in so no need for a seperate install. It has a lot of cool features that you may find useful. I am going to demo a few features (the following text is from the Thonny homepage\u00a0http:\/\/thonny.org\/ )<\/p>\n<h3 style=\"padding-left: 30px\">No-hassle variables.<\/h3>\n<p style=\"padding-left: 60px\">Once you&#8217;re done with hello-worlds, selec<em>t View \u2192 Variables<\/em> and see how your programs and shell commands affect Python variables.<\/p>\n<h3 style=\"padding-left: 30px\">Variables table<\/h3>\n<p style=\"padding-left: 60px\">Simple debugger. Just press <em>Ctrl+F5<\/em> instead of <em>F5<\/em> and you can run your programs step-by-step, no breakpoints needed. Press <em>F6<\/em> for a big step and <em>F7<\/em> for a small step. Steps follow program structure, not just code lines.<\/p>\n<h3 style=\"padding-left: 30px\">Stepping through statements<\/h3>\n<p style=\"padding-left: 60px\">Step through expression evaluation. If you use small steps, then you can even see how Python evaluates your expressions. You can think of this light-blue box as a piece of paper where Python replaces subexpressions with their values, piece-by-piece.<\/p>\n<p><iframe loading=\"lazy\"  id=\"_ytid_71120\"  width=\"960\" height=\"540\"  data-origwidth=\"960\" data-origheight=\"540\" src=\"https:\/\/www.youtube.com\/embed\/YI3L4la67rs?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I know that some of you have struggled to get Python working at home, so let me introduce you to Thonny. Thonny is a Python IDE for beginners, it has Python built in so no need for a seperate install. It has a lot of cool features that you may find useful. I am going &hellip;<\/p>\n","protected":false},"author":32,"featured_media":1342,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17009],"tags":[125715,432060],"class_list":["post-1769","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-design-devlopment","tag-python","tag-thonny"],"jetpack_featured_media_url":"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/06\/Python-logo-notext.svg_.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/comments?post=1769"}],"version-history":[{"count":3,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1769\/revisions"}],"predecessor-version":[{"id":1772,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1769\/revisions\/1772"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media\/1342"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media?parent=1769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/categories?post=1769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/tags?post=1769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}