{"id":140,"date":"2024-12-03T03:03:34","date_gmt":"2024-12-03T03:03:34","guid":{"rendered":"https:\/\/alexanderstivers.com\/?p=140"},"modified":"2024-12-03T03:03:34","modified_gmt":"2024-12-03T03:03:34","slug":"taking-input-and-using-it","status":"publish","type":"post","link":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/","title":{"rendered":"Taking Input and Using It"},"content":{"rendered":"\n<p>I found an interesting application on <a href=\"https:\/\/tkdocs.com\/tutorial\/firstexample.html\">TkDocs<\/a> that acts as a simple feet to meters converter and poked around at it. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large wp-duotone-unset-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"201\" src=\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image-1024x201.png\" alt=\"\" class=\"wp-image-141\" srcset=\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image-1024x201.png 1024w, https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image-300x59.png 300w, https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image-768x151.png 768w, https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image.png 1222w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>While it isn&#8217;t choosing a file using a popup, it does provide some examples of integral concepts to using Tkinter. These include setting up a grid to place the widgets (buttons, text boxes,ect ) on, use of function calls within a window, applying UI rules dynamically.<br>To elaborate on the last point this program includes a 2 line snippet that adds vertical and horizontal spacing to all of the widgets within the main window.<\/p>\n\n\n\n<p>While I&#8217;m sure I have more to learn, once I learn how to make a UI to select a file in Tk, the next thing to do would be making a proper list of project goals for the alphastat program.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found an interesting application on TkDocs that acts as a simple feet to meters converter and poked around at it. While it isn&#8217;t choosing a file using a popup, it does provide some examples of integral concepts to using Tkinter. These include setting up a grid to place the widgets (buttons, text boxes,ect ) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Taking Input and Using It - Alexander Stivers<\/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:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Taking Input and Using It - Alexander Stivers\" \/>\n<meta property=\"og:description\" content=\"I found an interesting application on TkDocs that acts as a simple feet to meters converter and poked around at it. While it isn&#8217;t choosing a file using a popup, it does provide some examples of integral concepts to using Tkinter. These include setting up a grid to place the widgets (buttons, text boxes,ect ) [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/\" \/>\n<meta property=\"og:site_name\" content=\"Alexander Stivers\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-03T03:03:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1222\" \/>\n\t<meta property=\"og:image:height\" content=\"240\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"alexanderstivers\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"alexanderstivers\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/\"},\"author\":{\"name\":\"alexanderstivers\",\"@id\":\"https:\/\/alexanderstivers.com\/#\/schema\/person\/44e45a9b8798c21de395b8a83c7848e8\"},\"headline\":\"Taking Input and Using It\",\"datePublished\":\"2024-12-03T03:03:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/\"},\"wordCount\":141,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/alexanderstivers.com\/#\/schema\/person\/44e45a9b8798c21de395b8a83c7848e8\"},\"image\":{\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image-1024x201.png\",\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/\",\"url\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/\",\"name\":\"Taking Input and Using It - Alexander Stivers\",\"isPartOf\":{\"@id\":\"https:\/\/alexanderstivers.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image-1024x201.png\",\"datePublished\":\"2024-12-03T03:03:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#primaryimage\",\"url\":\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image.png\",\"contentUrl\":\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image.png\",\"width\":1222,\"height\":240},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/alexanderstivers.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Taking Input and Using It\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/alexanderstivers.com\/#website\",\"url\":\"https:\/\/alexanderstivers.com\/\",\"name\":\"Alexander Stivers\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/alexanderstivers.com\/#\/schema\/person\/44e45a9b8798c21de395b8a83c7848e8\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/alexanderstivers.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/alexanderstivers.com\/#\/schema\/person\/44e45a9b8798c21de395b8a83c7848e8\",\"name\":\"alexanderstivers\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/alexanderstivers.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/03\/shapeimage_2-1.png\",\"contentUrl\":\"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/03\/shapeimage_2-1.png\",\"width\":925,\"height\":462,\"caption\":\"alexanderstivers\"},\"logo\":{\"@id\":\"https:\/\/alexanderstivers.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/alexanderstivers.com\"],\"url\":\"https:\/\/alexanderstivers.com\/index.php\/author\/alexanderstivers\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Taking Input and Using It - Alexander Stivers","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:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/","og_locale":"en_US","og_type":"article","og_title":"Taking Input and Using It - Alexander Stivers","og_description":"I found an interesting application on TkDocs that acts as a simple feet to meters converter and poked around at it. While it isn&#8217;t choosing a file using a popup, it does provide some examples of integral concepts to using Tkinter. These include setting up a grid to place the widgets (buttons, text boxes,ect ) [&hellip;]","og_url":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/","og_site_name":"Alexander Stivers","article_published_time":"2024-12-03T03:03:34+00:00","og_image":[{"width":1222,"height":240,"url":"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image.png","type":"image\/png"}],"author":"alexanderstivers","twitter_card":"summary_large_image","twitter_misc":{"Written by":"alexanderstivers","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#article","isPartOf":{"@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/"},"author":{"name":"alexanderstivers","@id":"https:\/\/alexanderstivers.com\/#\/schema\/person\/44e45a9b8798c21de395b8a83c7848e8"},"headline":"Taking Input and Using It","datePublished":"2024-12-03T03:03:34+00:00","mainEntityOfPage":{"@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/"},"wordCount":141,"commentCount":0,"publisher":{"@id":"https:\/\/alexanderstivers.com\/#\/schema\/person\/44e45a9b8798c21de395b8a83c7848e8"},"image":{"@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#primaryimage"},"thumbnailUrl":"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image-1024x201.png","articleSection":["Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/","url":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/","name":"Taking Input and Using It - Alexander Stivers","isPartOf":{"@id":"https:\/\/alexanderstivers.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#primaryimage"},"image":{"@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#primaryimage"},"thumbnailUrl":"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image-1024x201.png","datePublished":"2024-12-03T03:03:34+00:00","breadcrumb":{"@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#primaryimage","url":"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image.png","contentUrl":"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/12\/image.png","width":1222,"height":240},{"@type":"BreadcrumbList","@id":"https:\/\/alexanderstivers.com\/index.php\/2024\/12\/03\/taking-input-and-using-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/alexanderstivers.com\/"},{"@type":"ListItem","position":2,"name":"Taking Input and Using It"}]},{"@type":"WebSite","@id":"https:\/\/alexanderstivers.com\/#website","url":"https:\/\/alexanderstivers.com\/","name":"Alexander Stivers","description":"","publisher":{"@id":"https:\/\/alexanderstivers.com\/#\/schema\/person\/44e45a9b8798c21de395b8a83c7848e8"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/alexanderstivers.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/alexanderstivers.com\/#\/schema\/person\/44e45a9b8798c21de395b8a83c7848e8","name":"alexanderstivers","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/alexanderstivers.com\/#\/schema\/person\/image\/","url":"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/03\/shapeimage_2-1.png","contentUrl":"https:\/\/alexanderstivers.com\/wp-content\/uploads\/2024\/03\/shapeimage_2-1.png","width":925,"height":462,"caption":"alexanderstivers"},"logo":{"@id":"https:\/\/alexanderstivers.com\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/alexanderstivers.com"],"url":"https:\/\/alexanderstivers.com\/index.php\/author\/alexanderstivers\/"}]}},"_links":{"self":[{"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/comments?post=140"}],"version-history":[{"count":1,"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/posts\/140\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/media?parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/categories?post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexanderstivers.com\/index.php\/wp-json\/wp\/v2\/tags?post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}