{"id":25523405,"date":"2022-05-08T05:53:04","date_gmt":"2022-05-08T00:23:04","guid":{"rendered":"https:\/\/entri.app\/blog\/?p=25523405"},"modified":"2023-05-03T18:13:52","modified_gmt":"2023-05-03T12:43:52","slug":"learn-how-to-quickly-create-uis-in-python","status":"publish","type":"post","link":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/","title":{"rendered":"Learn How to Quickly Create UIs in Python"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ea4057c768d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ea4057c768d\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#Python_Libraries_Available_for_UI_usage\" >Python Libraries Available for UI usage<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#Closing_Thoughts\" >Closing Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<div class=\"je jf jg jh ji\">\n<p id=\"36d6\" class=\"pw-post-body-paragraph lq lr jl ls b lt lu km lv lw lx kp ly lz ma mb mc md me mf mg mh mi mj mk ml je gc\" data-selectable-paragraph=\"\">The biggest advantage of python is the ease of use and the abundance of libraries for just about anything. With a few lines of code, there is nothing you couldn\u2019t do. As long as your python scripts are for personal use or your target audience is technical enough, you would never even have to think about a User Interface (UI).<\/p>\n<p id=\"5e73\" class=\"pw-post-body-paragraph lq lr jl ls b lt lu km lv lw lx kp ly lz ma mb mc md me mf mg mh mi mj mk ml je gc\" data-selectable-paragraph=\"\">Sometimes, however, your target audience is not technical enough. They\u2019d love to use your python scripts but only as long as they didn\u2019t have to look at a single line of code. In those cases, providing command line scripts will simply not cut it. You would ideally need to provide them with a UI.<\/p>\n<p data-selectable-paragraph=\"\"><a href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25522670 size-full\" src=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/04\/Python-and-Machine-Learning-Rectangle-1.png\" alt=\"Python and Machine Learning Rectangle\" width=\"970\" height=\"250\" srcset=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/04\/Python-and-Machine-Learning-Rectangle-1.png 970w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/04\/Python-and-Machine-Learning-Rectangle-1-300x77.png 300w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/04\/Python-and-Machine-Learning-Rectangle-1-768x198.png 768w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/04\/Python-and-Machine-Learning-Rectangle-1-750x193.png 750w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n<\/div>\n<div class=\"o dz sw vo in vp\" role=\"separator\"><\/div>\n<div class=\"je jf jg jh ji\">\n<h2 id=\"1abe\" class=\"vt vu jl bn vv vw vx vy or vz wa wb ov kr wc ks oy ku wd kv pb kx we ky pe wf gc\"><span class=\"ez-toc-section\" id=\"Python_Libraries_Available_for_UI_usage\"><\/span><strong>Python Libraries Available for UI usage<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p data-selectable-paragraph=\"\">There are essentially 3 big Python UI libraries : Tkinter, wxPython and PyQT.<\/p>\n<p id=\"0342\" class=\"pw-post-body-paragraph lq lr jl ls b lt lu km lv lw lx kp ly lz ma mb mc md me mf mg mh mi mj mk ml je gc\" data-selectable-paragraph=\"\">Much to my delight, however, I came across a fourth option that seemed to be catering to my kind of liking. The library\u00a0 which is one of the best to create Python UIs is called PySimpleGUI. Funnily enough, this library is using all the 3 popular libraries, but abstracts away the super technical.<\/p>\n<p style=\"text-align: center;\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\">&#8220;Ready to take your python skills to the next level? Sign up for a free demo today!&#8221;<\/a><\/strong><\/p>\n<\/div>\n<p data-selectable-paragraph=\"\"><strong><span style=\"color: #1d1f20; font-size: 1.953em;\">3 Quick Ways To Compare Data in Python<\/span><\/strong><\/p>\n<div class=\"je jf jg jh ji\">\n<div class=\"wl wm gv gx wn wo\">\n<div class=\"wp o ft\">\n<div class=\"wq o db dz ep wr\">\n<div class=\"wu l\">\n<p class=\"bn b do bp fu ws fw fx wt fz gb co\">For anyone working in an analytical role, receiving requests to compare data will be all too familiar.<\/p>\n<\/div>\n<\/div>\n<div class=\"wv l\">\n<div class=\"ww l wx wy wz wv xa lk wo\">We essentially need a way to load up two files, and then choose the encryption we would like to use to do the file comparison.<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3 id=\"5f70\" class=\"xb vu jl bn vv oo xc op or os xd ot ov lz xe ow oy md xf oz pb mh xg pc pe xh gc\"><strong>Code the UI<\/strong><\/h3>\n<p id=\"1197\" class=\"pw-post-body-paragraph lq lr jl ls b lt wg km lv lw wh kp ly lz wi mb mc md wj mf mg mh wk mj mk ml je gc\" data-selectable-paragraph=\"\">To build that UI, we can use the following code:<\/p>\n<pre class=\"lb lc ld le gz xi bt xj\"><span class=\"gc xb vu jl xk b do xl xm l xn\" data-selectable-paragraph=\"\">import PySimpleGUI as sg\r\nlayout = [\r\n    [sg.Text('File 1'), sg.InputText(), sg.FileBrowse(),\r\n     sg.Checkbox('MD5'), sg.Checkbox('SHA1')\r\n     ],\r\n    [sg.Text('File 2'), sg.InputText(), sg.FileBrowse(),\r\n     sg.Checkbox('SHA256')\r\n     ],\r\n    [sg.Output(size=(88, 20))],\r\n    [sg.Submit(), sg.Cancel()]\r\n]\r\nwindow = sg.Window('File Compare', layout)\r\nwhile True:                             # The Event Loop\r\n    event, values = window.read()\r\n    # print(event, values) #debug\r\n    if event in (None, 'Exit', 'Cancel'):\r\n        break\r\n<\/span><\/pre>\n<p>which results in:<\/p>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-40\" src=\"https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727289038-1030x701.jpg\" srcset=\"https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727289038-1030x701.jpg 1030w, https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727289038-600x409.jpg 600w, https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727289038-300x204.jpg 300w, https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727289038-768x523.jpg 768w, https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727289038.jpg 1034w\" alt=\"\" width=\"1030\" height=\"701\" \/><\/figure>\n<\/div>\n<p data-selectable-paragraph=\"\">Simply Python UI, generated by the above code.<\/p>\n<p style=\"text-align: center;\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\">&#8220;Experience the power of our web development course with a free demo &#8211; enroll now!&#8221;<\/a><\/strong><\/p>\n<h3 id=\"d550\"><strong>Plugging in the logic<\/strong><\/h3>\n<p>With the UI in place, it\u2019s simple for one to see how to plug in the rest of the code. We simply need to monitor for what the user inputs and then act accordingly. We can very easily do that, with the following code.<\/p>\n<pre class=\"wp-block-preformatted\">import PySimpleGUI as sg\r\nimport re\r\nimport hashlibdef hash(fname, algo):\r\n    if algo == 'MD5':\r\n        hash = hashlib.md5()\r\n    elif algo == 'SHA1':\r\n        hash = hashlib.sha1()\r\n    elif algo == 'SHA256':\r\n        hash = hashlib.sha256()\r\n    with open(fname) as handle: #opening the file one line at a time for memory considerations\r\n        for line in handle:\r\n            hash.update(line.encode(encoding = 'utf-8'))\r\n    return(hash.hexdigest())layout = [\r\n    [sg.Text('File 1'), sg.InputText(), sg.FileBrowse(),\r\n     sg.Checkbox('MD5'), sg.Checkbox('SHA1')\r\n     ],\r\n    [sg.Text('File 2'), sg.InputText(), sg.FileBrowse(),\r\n     sg.Checkbox('SHA256')\r\n     ],\r\n    [sg.Output(size=(88, 20))],\r\n    [sg.Submit(), sg.Cancel()]\r\n]window = sg.Window('File Compare', layout)while True:                             # The Event Loop\r\n    event, values = window.read()\r\n    # print(event, values) #debug\r\n    if event in (None, 'Exit', 'Cancel'):\r\n        break\r\n    if event == 'Submit':\r\n        file1 = file2 = isitago = None\r\n        # print(values[0],values[3])\r\n        if values[0] and values[3]:\r\n            file1 = re.findall('.+:\\\/.+\\.+.', values[0])\r\n            file2 = re.findall('.+:\\\/.+\\.+.', values[3])\r\n            isitago = 1\r\n            if not file1 and file1 is not None:\r\n                print('Error: File 1 path not valid.')\r\n                isitago = 0\r\n            elif not file2 and file2 is not None:\r\n                print('Error: File 2 path not valid.')\r\n                isitago = 0\r\n            elif values[1] is not True and values[2] is not True and values[4] is not True:\r\n                print('Error: Choose at least one type of Encryption Algorithm')\r\n            elif isitago == 1:\r\n                print('Info: Filepaths correctly defined.')\r\n                algos = [] #algos to compare\r\n                if values[1] == True: algos.append('MD5')\r\n                if values[2] == True: algos.append('SHA1')\r\n                if values[4] == True: algos.append('SHA256')\r\n                filepaths = [] #files\r\n                filepaths.append(values[0])\r\n                filepaths.append(values[3])\r\n                print('Info: File Comparison using:', algos)\r\n                for algo in algos:\r\n                    print(algo, ':')\r\n                    print(filepaths[0], ':', hash(filepaths[0], algo))\r\n                    print(filepaths[1], ':', hash(filepaths[1], algo))\r\n                    if hash(filepaths[0],algo) == hash(filepaths[1],algo):\r\n                        print('Files match for ', algo)\r\n                    else:\r\n                        print('Files do NOT match for ', algo)\r\n        else:\r\n            print('Please choose 2 files.')window.close()<\/pre>\n<p>Running the above code will give you the following outcome:<\/p>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-42\" src=\"https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727470976-1030x702.jpg\" srcset=\"https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727470976-1030x702.jpg 1030w, https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727470976-600x409.jpg 600w, https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727470976-300x204.jpg 300w, https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727470976-768x523.jpg 768w, https:\/\/bandel.kendil.com\/wp-content\/uploads\/2019\/12\/1575727470976.jpg 1038w\" alt=\"\" width=\"1030\" height=\"702\" \/><\/figure>\n<h2 id=\"fbe3\"><span class=\"ez-toc-section\" id=\"Closing_Thoughts\"><\/span><strong>Closing Thoughts<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Although not the prettiest of UIs, this library allows you to quickly spin up simple python UIs and share them with whoever you may need to. More importantly, the code that you require to do so, is simple and very readable.<\/p>\n<p style=\"text-align: center;\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\">&#8220;Get hands-on with our python course &#8211; sign up for a free demo!&#8221;<\/a><\/strong><\/p>\n<h3><a href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25494072 size-full\" src=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2021\/10\/Web-Development-Square.png\" alt=\"\" width=\"345\" height=\"345\" srcset=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2021\/10\/Web-Development-Square.png 345w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2021\/10\/Web-Development-Square-300x300.png 300w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2021\/10\/Web-Development-Square-150x150.png 150w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2021\/10\/Web-Development-Square-24x24.png 24w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2021\/10\/Web-Development-Square-48x48.png 48w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2021\/10\/Web-Development-Square-96x96.png 96w, https:\/\/entri.app\/blog\/wp-content\/uploads\/2021\/10\/Web-Development-Square-75x75.png 75w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/a><\/h3>\n<h4><strong>Related Articles<\/strong><\/h4>\n<div class=\"table-responsive wprt_style_display\">\n<div class=\"table-responsive wprt_style_display\">\n<div class=\"table-responsive wprt_style_display\">\n<div class=\"table-responsive wprt_style_display\">\n<div class=\"table-responsive wprt_style_display\">\n<div class=\"table-responsive wprt_style_display\">\n<div class=\"table-responsive wprt_style_display\">\n<table class=\"table\" dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"329\" \/>\n<col width=\"309\" \/><\/colgroup>\n<tbody>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Kerala PSC VFA Syllabus&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/kerala-psc-village-field-assistant-vfa-syllabus-exam-pattern\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/data-visualization-in-python\/\" target=\"_blank\" rel=\"noopener\">Introduction to Data Visualization in Python<\/a><\/strong><\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Kerala PSC VFA Mock Test&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/kerala-psc-vfa-free-mock-test\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/why-python-is-used-for-data-science\/\" target=\"_blank\" rel=\"noopener\">Why Python Is Used For Data Science?<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Kerala PSC VFA Exam Date&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/kerala-psc-vfa-exam-date\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/step-by-step-guide-for-getting-a-job-as-a-python-developer\/\" target=\"_blank\" rel=\"noopener\">Guide for getting a job as a Python Developer<\/a><\/strong><\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Kerala PSC VFA Video Course&quot;}\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/top-python-interview-questions-and-answers\/\" target=\"_blank\" rel=\"noopener\">Python Advanced Interview Questions and Answers<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Kerala PSC VFA Application Form&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/kerala-psc-vfa-apply-online\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/python-online-course\/\" target=\"_blank\" rel=\"noopener\">Best Online Python Course with Certificate<\/a><\/strong><\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Kerala PSC VFA Study Materials&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/kerala-psc-vfa-study-material\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/type-conversion-in-python\/\" target=\"_blank\" rel=\"noopener\">What is Type Conversion in Python?<\/a><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The biggest advantage of python is the ease of use and the abundance of libraries for just about anything. With a few lines of code, there is nothing you couldn\u2019t do. As long as your python scripts are for personal use or your target audience is technical enough, you would never even have to think [&hellip;]<\/p>\n","protected":false},"author":111,"featured_media":25523507,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[802,1888],"tags":[],"class_list":["post-25523405","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-python-programming"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Learn How to Quickly Create UIs in Python - Entri Blog<\/title>\n<meta name=\"description\" content=\"This article helps you to learn how to create UIs in python.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn How to Quickly Create UIs in Python - Entri Blog\" \/>\n<meta property=\"og:description\" content=\"This article helps you to learn how to create UIs in python.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Entri Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/entri.me\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-08T00:23:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-03T12:43:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png\" \/>\n\t<meta property=\"og:image:width\" content=\"820\" \/>\n\t<meta property=\"og:image:height\" content=\"615\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Feeba Mahin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@entri_app\" \/>\n<meta name=\"twitter:site\" content=\"@entri_app\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Feeba Mahin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/\"},\"author\":{\"name\":\"Feeba Mahin\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/f036dab84abae3dcc9390a1110d95d36\"},\"headline\":\"Learn How to Quickly Create UIs in Python\",\"datePublished\":\"2022-05-08T00:23:04+00:00\",\"dateModified\":\"2023-05-03T12:43:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/\"},\"wordCount\":456,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png\",\"articleSection\":[\"Articles\",\"Python Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/\",\"url\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/\",\"name\":\"Learn How to Quickly Create UIs in Python - Entri Blog\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png\",\"datePublished\":\"2022-05-08T00:23:04+00:00\",\"dateModified\":\"2023-05-03T12:43:52+00:00\",\"description\":\"This article helps you to learn how to create UIs in python.\",\"breadcrumb\":{\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#primaryimage\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png\",\"width\":820,\"height\":615,\"caption\":\"Learn How to Quickly Create UIs in Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/entri.app\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python Programming\",\"item\":\"https:\/\/entri.app\/blog\/category\/python-programming\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Learn How to Quickly Create UIs in Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/entri.app\/blog\/#website\",\"url\":\"https:\/\/entri.app\/blog\/\",\"name\":\"Entri Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/entri.app\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/entri.app\/blog\/#organization\",\"name\":\"Entri App\",\"url\":\"https:\/\/entri.app\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"width\":989,\"height\":446,\"caption\":\"Entri App\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/entri.me\/\",\"https:\/\/x.com\/entri_app\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/f036dab84abae3dcc9390a1110d95d36\",\"name\":\"Feeba Mahin\",\"url\":\"https:\/\/entri.app\/blog\/author\/feeba123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learn How to Quickly Create UIs in Python - Entri Blog","description":"This article helps you to learn how to create UIs in python.","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:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/","og_locale":"en_US","og_type":"article","og_title":"Learn How to Quickly Create UIs in Python - Entri Blog","og_description":"This article helps you to learn how to create UIs in python.","og_url":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/","og_site_name":"Entri Blog","article_publisher":"https:\/\/www.facebook.com\/entri.me\/","article_published_time":"2022-05-08T00:23:04+00:00","article_modified_time":"2023-05-03T12:43:52+00:00","og_image":[{"width":820,"height":615,"url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png","type":"image\/png"}],"author":"Feeba Mahin","twitter_card":"summary_large_image","twitter_creator":"@entri_app","twitter_site":"@entri_app","twitter_misc":{"Written by":"Feeba Mahin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#article","isPartOf":{"@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/"},"author":{"name":"Feeba Mahin","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/f036dab84abae3dcc9390a1110d95d36"},"headline":"Learn How to Quickly Create UIs in Python","datePublished":"2022-05-08T00:23:04+00:00","dateModified":"2023-05-03T12:43:52+00:00","mainEntityOfPage":{"@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/"},"wordCount":456,"commentCount":0,"publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"image":{"@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png","articleSection":["Articles","Python Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/","url":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/","name":"Learn How to Quickly Create UIs in Python - Entri Blog","isPartOf":{"@id":"https:\/\/entri.app\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#primaryimage"},"image":{"@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png","datePublished":"2022-05-08T00:23:04+00:00","dateModified":"2023-05-03T12:43:52+00:00","description":"This article helps you to learn how to create UIs in python.","breadcrumb":{"@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#primaryimage","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/05\/Learn-How-to-Quickly-Create-UIs-in-Python.png","width":820,"height":615,"caption":"Learn How to Quickly Create UIs in Python"},{"@type":"BreadcrumbList","@id":"https:\/\/entri.app\/blog\/learn-how-to-quickly-create-uis-in-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/entri.app\/blog\/"},{"@type":"ListItem","position":2,"name":"Python Programming","item":"https:\/\/entri.app\/blog\/category\/python-programming\/"},{"@type":"ListItem","position":3,"name":"Learn How to Quickly Create UIs in Python"}]},{"@type":"WebSite","@id":"https:\/\/entri.app\/blog\/#website","url":"https:\/\/entri.app\/blog\/","name":"Entri Blog","description":"","publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/entri.app\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/entri.app\/blog\/#organization","name":"Entri App","url":"https:\/\/entri.app\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","width":989,"height":446,"caption":"Entri App"},"image":{"@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/entri.me\/","https:\/\/x.com\/entri_app"]},{"@type":"Person","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/f036dab84abae3dcc9390a1110d95d36","name":"Feeba Mahin","url":"https:\/\/entri.app\/blog\/author\/feeba123\/"}]}},"_links":{"self":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25523405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/users\/111"}],"replies":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/comments?post=25523405"}],"version-history":[{"count":11,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25523405\/revisions"}],"predecessor-version":[{"id":25559506,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25523405\/revisions\/25559506"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media\/25523507"}],"wp:attachment":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media?parent=25523405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/categories?post=25523405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/tags?post=25523405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}